Hi all,

as suggested by Johan, I dare to drop a feature suggestion onto this mailing list.

In a multi project repository, ^/trunk and ^/branches do not usually point to the trunk and branches of a project. Rather something like

  ^/somedir/someproject/branches

is needed.

Given a working copy of ^/somedir/someproject/trunk, it would be great to address the repository relative to that URL. Say '%' would be the shortcut, then I could

svn list %/../branches
svn copy . %/../branches/mycoolfeature
svn switch . %/../branches/mycoolfeature
svn merge %/../../trunk

Use of '..' seems to be forbidden in repository URLs, but some syntax should be possible to address this. %% for %/.. and %%% for %/../.. is one thing that springs to mind, surely others can come up with even better suggestions.


Rationale:

The sequence of commands shown above motivated me to suggest this feature. Branching and merging would get much easier for multi-project repositories, where ^ does not easily lead to trunk and branches.


Alternative Idea:

If trunk/tags/versions/branches where not just conventions, an alternative would be to have a notation point to the "root of the project", i.e. the parent of trunk and branches. But I would not know how to sanely define it for working copies that have neither of trunk/branches/tags/versions in their repository path's ancestry.

Harald

Reply via email to