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

Re: [TSVN] Identifying Branches vs. Trunk

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-08-31 18:58:24 CEST

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!

Sounds like you have already found the obvious ones. What else did you
have in mind?

You could enable keyword expansion (see SVN book)

The $HeadURL keyword would allow you to include the URL within text
files. Of course, the user has to be looking in the right place to see it.

BTW, file/folder properties (TSVN tab) will also show the URL.


   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:58:07 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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