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