You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Brian Bird <Br...@securetrading.com> on 2010/10/19 12:45:30 UTC
svn commit and branches
When committing to a branch in subversion (without the -m switch) svn pre-fills the editor with the filenames to be committed under a line "-This line, and those below, will be ignored-".
Is it possible for the current branch to be shown here as well? I often have to work on multiple branches and on occasion I have committed to the wrong branch and only realised later. I would like to be warned about the branch I'm on so I can switch to another one before committing if necessary. I know CVS used to show this information when committing so I'm hoping there's a simple option to enable this in svn?
Thanks,
Brian
Re: svn commit and branches
Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Brian Bird wrote on Tue, Oct 19, 2010 at 13:45:30 +0100:
> When committing to a branch in subversion (without the -m switch) svn
> pre-fills the editor with the filenames to be committed under a line
> "-This line, and those below, will be ignored-".
>
> Is it possible for the current branch to be shown here as well?
> I often have to work on multiple branches and on occasion I have
> committed to the wrong branch and only realised later. I would like to
> be warned about the branch I'm on so I can switch to another one
> before committing if necessary. I know CVS used to show this
> information when committing so I'm hoping there's a simple option to
> enable this in svn?
>
There isn't. But you could teach your editor to show that information
if you need it (just run 'svn info').
> Thanks,
>
> Brian