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

[RFC] caret notation enhancement

From: Karl Heinz Marbaise <khmarbaise_at_gmx.de>
Date: Fri, 08 Oct 2010 11:25:56 +0200

Hi to all,

i've a suggestion about the caret notation which is very handy in daily
work.

The caret syntax is very helpfull if you're working with a repository
which contains only a single project and of course makes life easier.

     svn cp ^/trunk ^/tags/RELEASE-1.0.0 -m"- Tagging"

But unfortunately i don't have often the pleasure to work with such
repositories. The usual case is to have multiple projects inside a
repository. The result of this is the following:

     svn cp ^/path/trunk ^/path/tags/RELEASE-1.0.0 -m"- Tagging"

The part "path" becomes longer and longer the more projects are
contained in such a repository or depending of the structure of the
projects/modules.

So i would like to suggest to introduce an enhancement of the
caret syntax to get to a shorter way of writing the things for
tagging/branching.

     svn cp ^^/trunk ^^/tags/RELEASE-1.0.0 -m"- Tagging"

The usage of the doubled ^ is just as an example, cause i know
on Windows you already have to type the doubled ^ because of the shell.

One question is how should a syntax look like to reach this.

   ^!/trunk ^!/tags/RELEASE-1.0.0 -m"- ..."

This would be a real improvement of the usage on command line.

So the question is what do you think? Better ideas? Other ways?

Kind regards
Karl Heinz Marbaise

-- 
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de
Received on 2010-10-08 11:26:41 CEST

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

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