Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8062381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T10:39:05+00:00 2026-06-05T10:39:05+00:00

I typically use VIM for almost everything coding-related. I have configured my environment so

  • 0

I typically use VIM for almost everything coding-related.

I have configured my environment so Subversion opens VIM to edit the commit message when I execute svn commit. If I close VIM without saving the commit message (eg: :qa!), it is discarded, and the commit operation is aborted.

If I save and close VIM, then the commit operation will commence.

If the commit fails, I have some SVN commit messages that appear to be saved in /tmp/ with file names like svn-**.tmp.

While writing the commit message in VIM, the commit message appears to have a file name of svn-commit.1.tmp. I would like to be able to recover this message for my next SVN commit. The typically use case is:

  1. I attempt to commit; complete writing message in VIM
  2. Commit fails
  3. I resolve the issue (eg: svn update)
  4. Now I want to attempt svn commit again with the previous message pre-loaded into VIM

Thank you for your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T10:39:07+00:00Added an answer on June 5, 2026 at 10:39 am

    You could always use the -F option with svn commit, which uses a file to create the log message.

    Whenever I commit with svn, I first create a log file:

    vim log_file
    

    Then I use the following to commit:

    svn commit -F log_file --username blah
    

    This has always worked great for me.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Do you typically use the designer or do everything in the ASPX? Are the
Typically if we just use alert(object); it will show as [object Object] . How
Typically, I've seen people use the class literal like this: Class<Foo> cls = Foo.class;
I typically use rails models and typus as my CMS as it gives the
I typically use the site http://www.pinvoke.net/ to grab a DllImport declaration whenever I need
When returning data from a DataReader I would typically use the ordinal reference on
What is a good tool to design the implementation of websites? I typically use
To loop over elements of a container, I would typically use an iterator, like
I typically use groovy to construct simple bean but the Spring IDE plugin to
In my apps I typically use the Enterprise Library Data Block to simplify my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.