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.
**************************************************************************************

Reply via email to