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

Is the peg revision syntax a bug?

From: Ulrich Eckhardt <ulrich.eckhardt_at_dominolaser.com>
Date: Fri, 20 May 2011 11:14:45 +0200

Hi!

I've seen quite a few people confused by peg revisions including myself, last
case being the thread about "object oriented programming in MATLAB". Thinking
about that, I'm more and more willing to consider the way peg revisions are
taken from the commandline as a bug. The main reason is simply that it is
surprising, which regular questions show.

I basically wanted to ask if there already is a bug ticket and if there even
is consensus on how to treat it. I found ticket 2317, but I couldn't locate
the according revision when this was fixed or how - the second part of the
suggestion seems to not have been implemented.

Just for the record, my opinion is that the peg revision should not be part of
the URL. At least it shouldn't be part of the URL's end, I'd rather add it to
the beginning (specifying the root revision for the file tree) or maybe use
the same way that POST parameters are encoded for HTTP ("/foo/bar?x=y&a=b").

However, I would prefer to have it as separate and explicit argument on the
commandline, just as the "normal" revision is also passed with [-r|--revision]
there. This makes it easier to understand and parse, and it avoids confusion
because it is explicit and not mixed in the URL. I would then deprecate and
warn about the peg revision in the URL for 2..3 years and then remove this
syntax.

Thoughts?

Uli
**************************************************************************************
Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at http://www.dominolaser.com
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Domino Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
Received on 2011-05-20 11:13:15 CEST

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.