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

Re: Determining origin of branch

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 19 Aug 2009 00:02:34 +0100

On Tue, Aug 18, 2009 at 03:39:39PM -0700, David Carson wrote:
> Might I ask why this has never been properly addressed (to my knowledge)?
> We have the situation discussed by Derek Mahar where a rename causes the --stop-on-copy option to be short-circuited, such that "svn log ..." alone cannot be used to determine the origin of a branch (without eyeballing it).
> Moreover, even in the simple case, to get the information isolated requires "svn log ..." plus some parsing of the output to get what is really of interest, namely URL:revision.
> Why not solve both of these issues by simply adding a new command: "svn origin"
> 1. The new command would return URL:revision, and nothing else. No parsing of the log output necessary.
> 2. The new command would always return the real origin of the branch, not a copy that might or might not be the original copy.
> If #2 is not possible presently, then simply add this information to the repository's schema, so that it is available.
> I feel that this particular piece of information is so important, it warrants a new command, or some definitive way of retrieving it. What do others think?

Ideas like this have been posted many times.
Some similar ideas of mine (which need much more refinement to be
useful) are at http://svn.haxx.se/users/archive-2009-02/0729.shtml
There are probably many more such ideas buried in the archives.

As always the devil is in the details. If you're serious about this
try to come up with a detailed technical spec for the feature that
can be discussed. This discussion would involve finding an adequat
technical solution that *everyone* is happy with. That can take some
time so make sure to bring patience. You could search the dev@ archives
for 'svn obliterate' to dig up examples of what is involved in creating
such a spec and discussing it. (Note that the obliterate discussion
has been going on for many years so it might be worth searching way
in the past, too.)



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-19 01:03:35 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.