Flanakin Michael C Ctr HQ OSSG/OMR wrote:
> I'm using Svn/TSvn for the first time with a decent-sized team. Based on
> the fact that it's already happened once, I was wondering if there is
> (or could) a way to identify what branch (or trunk) a user is working
> with. For instance, assuming all work is done in the trunk except bug
> fixes for existing releases, a user uses svn switch to get a branch
> and makes and commits changes. Later, if s/he doesn't remember, s/he may
> make changes to the branch when they should be in the trunk.
>
> When working with CVS in the past, my team's practice was the check out
> branches to different directories. I'd prefer not to do this because of
> configuration issues with external tools. Outside of that work-around,
> the only thing I could think of was to add a file after branching to the
> root that was labeled with the branch name. Granted, this is only seen
> in the root; but it at least shows the user what branch s/he's in
> easily. The only other option I know about is to use Relocate, Repo
> Browser, or one of the other menu items that shows the current URL.
>
> Has anyone else ran into this problem? If so, what work-arounds have you
> found and/or used? Thanks!
You have several options:
- in explorer detailed view, enable the 'SVN URL' column. You will see
the URL of each file/folder there, so you can easily find out if it's on
a branch or trunk
- right-click on a file/folder, choose "properties" in the explorer
context menu (usually the last one in the menu). Then, in the property
dialog, go to the Subversion tab. There you'll see the full URL of the
selected file/folder.
- The commit dialog also shows at the top the URL you're about to commit to.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Aug 31 18:49:42 2005