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)
http://svnbook.red-bean.com/en/1.1/ch07s02.html#svn-ch-7-sect-2.3.4
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.
Simon
--
___
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