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

Re: Branch documentation

From: Martin Scharrer <mailinglists_at_madmarty.de>
Date: 2006-12-22 21:53:35 CET

On Friday 22 December 2006 14:20, Bonvin John wrote:
> Hi
> I'm trying to find out how one can put branch documentation in the
> branch itself. By branch documentation I mean information such as
> - owner
> - description
> - parent branch
> - codeline policy
> Such information has to be versioned within the branch, but is owned by
> the branch and does not make sense in other branches. In particular, it
> must not be merged back to the trunk, which has its own documentation.
> How does one manage such information with Subversion ? I'd imagine such
> custom information to be typically stored in one or several files, that
> would have to be checked out in working copies and commited back to the
> branch (so svn:ignore won't do), but ignored when merging (and maybe
> also when creating branches / tags).
You can put the information in one or more files or use the property feature
of SVN to store the information in the branch dir.
Then after you merged or created an other branch you revert this file(s)
before you commit the changes, e.g

# Merging branch to trunk:
        $ cd <trunk working dir>
        $ svn merge -rX:Y url://repos/branches/mybranch
        $ svn revert <branch info files>
        $ svn commit


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 22 22:01:21 2006

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

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