[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit and branches

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 19 Oct 2010 16:01:32 +0200

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
Received on 2010-10-19 16:03:55 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.