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

Re: Subversion svn client doesn't show branch when checking in

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2006-03-01 18:23:50 CET

On 3/1/2006 12:09 PM, Gale, David wrote:
> Ryan Schmidt wrote:
>> On Mar 1, 2006, at 15:10, Andrew Haley wrote:
>>> When I do a commit, svn doesn't tell me which branch I'm committing
>>> to. So, when I check in the log, I have no way to know which files
>>> I'm about to overwrite. This is a regression from CVS, which does
>>> tell me which branch I'm committing to.
>> Subversion does branching completely differently than CVS. Have you
>> read the book? A branch in Subversion is absolutely nothing more than
>> a plain directory. Whatever directory you checked out from (or
>> subsequently switched to) is the one you're committing to.
> So, wouldn't it still be nice for svn to let you know which directory
> (and repository) it's going to commit to? Might help prevent people
> who've checked out a tag & forgotten to switch to a branch, for
> instance...

When you're using the command line client, there's no opportunity for it
to question whether you really know what you're doing. When you say
"commit this", it assumes you've already done "svn info" or whatever
other checks you'll need.

On the other hand, GUI clients like TortoiseSVN can be a lot friendlier,
and in fact TSVN does tell you where the commit is going. So I'd
suggest using TSVN, or whatever GUI works on your platform of choice.

Duncan Murdoch

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 1 18:53:29 2006

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