Re: Choosing arbitrary locations for branches and tags
Michael Haggerty <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
Jamma Tino Schwarze wrote: > I'm preparing a rather complex cvs2svn migration. We designed our SVN > repository layout to ease branching and merging - we want to have the > anchestry of branches visible. Therefore, our repository will look like > this (with c4u_tools being the actual project): > [...] > > Is there a way to move symbols to arbitrary locations within the SVN > tree? I looked into SymbolTransforms but the branches_path seems to > always be prepended to the symbol name... I'd like to avoid converting > first, then "svn move"ing around everything to keep my history nice and > avoid tree conflicts during merge. You can't do this with SymbolTransforms; you have to use StrategyRules (ultimately, by setting symbol.base_path). The easiest way is to use a --symbol-hints file, as described in the documentation [1], or equivalently a SymbolHintsFileRule if you are using the options-file method of configuring your conversion. You might also find it useful to have some of your directory framework be added to Subversion when a project is first initialized (rather than when the first branch in that part of the hierarchy is created). This can be done by using the initial_directories argument to run_options.add_project() (you must use the options file method to get this feature). Michael [1] http://cvs2svn.tigris.org/cvs2svn.html ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2447962 To unsubscribe from this discussion, e-mail: [[email protected]].