You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Robert Gonzalez <ro...@robert-gonzalez.com> on 2009/09/14 23:32:46 UTC

SVN commit log issues (CLI 1.6.4 on WinXP SP2)

I have run into a problem recently that I don't know how to solve. Google is
not being my friend and neither is the SVN manual.

When I attempt to commit my changes from the command line on Windows my
editor opens up with an old commit log message. It also does not have the
svn status of changed/added/deleted files in it. When I delete the log
message that is in the editor and replace it then save it and exit my
editor, I get the following message from SVN:

*Code:*Log message unchanged or not specified
(a)bort, (c)ontinue, (e)dit:

If I choose continue the commit happens but without a log message. If I
choose edit, another svn-commit.tmp file opens, this time #2, with a
different old log message. When I change that, save it and exit the editor,
I get the same message from SVN. In fact, I get this message no matter what
I do when committing from the command line, regardless of which editor I am
using (I have tried this with vim, Notepad, Notepad2 and Notepad++, all with
the same result). SVN just keeps making a bunch of svn-commit.tmp files, and
it always seems to keep the oldest three messages in the first of the three
commit message log files.

I can definitely pass the message with the -m flag, and I can also send the
message when using tortoise. This is only happening from the command line in
Windows (XP SP2).

SVN Client details:
*Code:*C:\>svn --version
svn, version 1.6.4 (r38063)
   compiled Aug  5 2009, 12:42:52

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (
http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using
Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network
protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using
serf.
  - handles 'http' scheme
  - handles 'https' scheme

My question is, how do I fix this? I just want SVN to forget about the old
commit message logs and let me commit with the current status. What do I
need to do?

-- 

Robert Gonzalez
http://www.robert-gonzalez.com

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2394820

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: SVN commit log issues (CLI 1.6.4 on WinXP SP2)

Posted by Robert Gonzalez <ro...@robert-gonzalez.com>.
It's opening VIM. I think this is a client thing because I renamed my
working directory and did a fresh checkout of the repository to a new
location. Made a change and tried to commit and ran into the same issue.

On Tue, Sep 15, 2009 at 11:53 AM, David Weintraub <qa...@gmail.com> wrote:

> Is it opening up a VIM editor? Or, is it opening up Notepad. I know there's
> a problem with Notepad in that it doesn't pass the correct exit code to
> Subversion, so Subversion doesn't realize you are saving the file.
>
>
> On Tue, Sep 15, 2009 at 1:22 AM, Robert Gonzalez <
> robert@robert-gonzalez.com> wrote:
>
>> Sorry, I didn't reply to the group... here is the reply.
>>
>> Right now it is set to vim. But I have had it set to Notepad, Notepad2 and
>> Notepad++. In all cases the editor has opened (even now it opens).
>> I know it is set because I can invoke it just by calling %SVN_EDITOR% from
>> the command line to open the editor.
>>
>> On Mon, Sep 14, 2009 at 9:25 PM, Ryan Schmidt <
>> subversion-2009b@ryandesign.com> wrote:
>>
>>> On Sep 14, 2009, at 18:32, Robert Gonzalez wrote:
>>>
>>>  I have run into a problem recently that I don't know how to solve.
>>>> Google is not being my friend and neither is the SVN manual.
>>>>
>>>> When I attempt to commit my changes from the command line on Windows my
>>>> editor opens up with an old commit log message. It also does not have the
>>>> svn status of changed/added/deleted files in it. When I delete the log
>>>> message that is in the editor and replace it then save it and exit my
>>>> editor, I get the following message from SVN:
>>>>
>>>> Code:
>>>> Log message unchanged or not specified
>>>> (a)bort, (c)ontinue, (e)dit:
>>>>
>>>>
>>>> If I choose continue the commit happens but without a log message. If I
>>>> choose edit, another svn-commit.tmp file opens, this time #2, with a
>>>> different old log message. When I change that, save it and exit the editor,
>>>> I get the same message from SVN. In fact, I get this message no matter what
>>>> I do when committing from the command line, regardless of which editor I am
>>>> using (I have tried this with vim, Notepad, Notepad2 and Notepad++, all with
>>>> the same result). SVN just keeps making a bunch of svn-commit.tmp files, and
>>>> it always seems to keep the oldest three messages in the first of the three
>>>> commit message log files.
>>>>
>>>> I can definitely pass the message with the -m flag, and I can also send
>>>> the message when using tortoise. This is only happening from the command
>>>> line in Windows (XP SP2).
>>>>
>>>> SVN Client details:
>>>> Code:
>>>> C:\>svn --version
>>>> svn, version 1.6.4 (r38063)
>>>>   compiled Aug  5 2009, 12:42:52
>>>>
>>>> Copyright (C) 2000-2009 CollabNet.
>>>> Subversion is open source software, see http://subversion.tigris.org/
>>>> This product includes software developed by CollabNet (
>>>> http://www.Collab.Net/).
>>>>
>>>> The following repository access (RA) modules are available:
>>>>
>>>> * ra_neon : Module for accessing a repository via WebDAV protocol using
>>>> Neon.
>>>>  - handles 'http' scheme
>>>>  - handles 'https' scheme
>>>> * ra_svn : Module for accessing a repository using the svn network
>>>> protocol.
>>>>  - with Cyrus SASL authentication
>>>>  - handles 'svn' scheme
>>>> * ra_local : Module for accessing a repository on local disk.
>>>>  - handles 'file' scheme
>>>> * ra_serf : Module for accessing a repository via WebDAV protocol using
>>>> serf.
>>>>  - handles 'http' scheme
>>>>  - handles 'https' scheme
>>>>
>>>>
>>>> My question is, how do I fix this? I just want SVN to forget about the
>>>> old commit message logs and let me commit with the current status. What do I
>>>> need to do?
>>>>
>>>
>>> It sounds like your EDITOR (or SVN_EDITOR) environment variable is not
>>> set up correctly. What is it set to?
>>>
>>>
>>>
>>>
>>
>>
>> --
>>
>> Robert Gonzalez
>> http://www.robert-gonzalez.com
>>
>
>
>
> --
> David Weintraub
> qazwart@gmail.com
>



-- 

Robert Gonzalez
http://www.robert-gonzalez.com

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2395216

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: SVN commit log issues (CLI 1.6.4 on WinXP SP2)

Posted by Robert Gonzalez <ro...@robert-gonzalez.com>.
Sorry, I didn't reply to the group... here is the reply.

Right now it is set to vim. But I have had it set to Notepad, Notepad2 and
Notepad++. In all cases the editor has opened (even now it opens).
I know it is set because I can invoke it just by calling %SVN_EDITOR% from
the command line to open the editor.

On Mon, Sep 14, 2009 at 9:25 PM, Ryan Schmidt <
subversion-2009b@ryandesign.com> wrote:

> On Sep 14, 2009, at 18:32, Robert Gonzalez wrote:
>
>  I have run into a problem recently that I don't know how to solve. Google
>> is not being my friend and neither is the SVN manual.
>>
>> When I attempt to commit my changes from the command line on Windows my
>> editor opens up with an old commit log message. It also does not have the
>> svn status of changed/added/deleted files in it. When I delete the log
>> message that is in the editor and replace it then save it and exit my
>> editor, I get the following message from SVN:
>>
>> Code:
>> Log message unchanged or not specified
>> (a)bort, (c)ontinue, (e)dit:
>>
>>
>> If I choose continue the commit happens but without a log message. If I
>> choose edit, another svn-commit.tmp file opens, this time #2, with a
>> different old log message. When I change that, save it and exit the editor,
>> I get the same message from SVN. In fact, I get this message no matter what
>> I do when committing from the command line, regardless of which editor I am
>> using (I have tried this with vim, Notepad, Notepad2 and Notepad++, all with
>> the same result). SVN just keeps making a bunch of svn-commit.tmp files, and
>> it always seems to keep the oldest three messages in the first of the three
>> commit message log files.
>>
>> I can definitely pass the message with the -m flag, and I can also send
>> the message when using tortoise. This is only happening from the command
>> line in Windows (XP SP2).
>>
>> SVN Client details:
>> Code:
>> C:\>svn --version
>> svn, version 1.6.4 (r38063)
>>   compiled Aug  5 2009, 12:42:52
>>
>> Copyright (C) 2000-2009 CollabNet.
>> Subversion is open source software, see http://subversion.tigris.org/
>> This product includes software developed by CollabNet (
>> http://www.Collab.Net/).
>>
>> The following repository access (RA) modules are available:
>>
>> * ra_neon : Module for accessing a repository via WebDAV protocol using
>> Neon.
>>  - handles 'http' scheme
>>  - handles 'https' scheme
>> * ra_svn : Module for accessing a repository using the svn network
>> protocol.
>>  - with Cyrus SASL authentication
>>  - handles 'svn' scheme
>> * ra_local : Module for accessing a repository on local disk.
>>  - handles 'file' scheme
>> * ra_serf : Module for accessing a repository via WebDAV protocol using
>> serf.
>>  - handles 'http' scheme
>>  - handles 'https' scheme
>>
>>
>> My question is, how do I fix this? I just want SVN to forget about the old
>> commit message logs and let me commit with the current status. What do I
>> need to do?
>>
>
> It sounds like your EDITOR (or SVN_EDITOR) environment variable is not set
> up correctly. What is it set to?
>
>
>
>


-- 

Robert Gonzalez
http://www.robert-gonzalez.com

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2394874

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: SVN commit log issues (CLI 1.6.4 on WinXP SP2)

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Sep 14, 2009, at 18:32, Robert Gonzalez wrote:

> I have run into a problem recently that I don't know how to solve.  
> Google is not being my friend and neither is the SVN manual.
>
> When I attempt to commit my changes from the command line on Windows  
> my editor opens up with an old commit log message. It also does not  
> have the svn status of changed/added/deleted files in it. When I  
> delete the log message that is in the editor and replace it then  
> save it and exit my editor, I get the following message from SVN:
>
> Code:
> Log message unchanged or not specified
> (a)bort, (c)ontinue, (e)dit:
>
>
> If I choose continue the commit happens but without a log message.  
> If I choose edit, another svn-commit.tmp file opens, this time #2,  
> with a different old log message. When I change that, save it and  
> exit the editor, I get the same message from SVN. In fact, I get  
> this message no matter what I do when committing from the command  
> line, regardless of which editor I am using (I have tried this with  
> vim, Notepad, Notepad2 and Notepad++, all with the same result). SVN  
> just keeps making a bunch of svn-commit.tmp files, and it always  
> seems to keep the oldest three messages in the first of the three  
> commit message log files.
>
> I can definitely pass the message with the -m flag, and I can also  
> send the message when using tortoise. This is only happening from  
> the command line in Windows (XP SP2).
>
> SVN Client details:
> Code:
> C:\>svn --version
> svn, version 1.6.4 (r38063)
>    compiled Aug  5 2009, 12:42:52
>
> Copyright (C) 2000-2009 CollabNet.
> Subversion is open source software, see http://subversion.tigris.org/
> This product includes software developed by CollabNet (http://www.Collab.Net/ 
> ).
>
> The following repository access (RA) modules are available:
>
> * ra_neon : Module for accessing a repository via WebDAV protocol  
> using Neon.
>   - handles 'http' scheme
>   - handles 'https' scheme
> * ra_svn : Module for accessing a repository using the svn network  
> protocol.
>   - with Cyrus SASL authentication
>   - handles 'svn' scheme
> * ra_local : Module for accessing a repository on local disk.
>   - handles 'file' scheme
> * ra_serf : Module for accessing a repository via WebDAV protocol  
> using serf.
>   - handles 'http' scheme
>   - handles 'https' scheme
>
>
> My question is, how do I fix this? I just want SVN to forget about  
> the old commit message logs and let me commit with the current  
> status. What do I need to do?

It sounds like your EDITOR (or SVN_EDITOR) environment variable is not  
set up correctly. What is it set to?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2394860

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].