[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: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Wed, 19 Aug 2009 00:19:50 -0500

On Aug 18, 2009, at 22:10, David Carson wrote:

>> On Tue, Aug 18, 2009 at 03:39:39PM -0700, David Carson wrote:
>>> 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.

> All I care about right now is that all copies are done in such a
> way that retrieving the source of the copy is simple and
> definitive. This seems quite straightforward. The information is
> available at the time of the copy, but it is too cumbersome to get
> to it later, IMHO.

Something like what the attached script does?

$ svnorigin.sh http://svn.collab.net/repos/svn/tags/1.6.4
$ svnorigin.sh http://svn.collab.net/repos/svn/branches/1.6.x

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

I wasn't sure what you meant by this. Did you mean that, in the above
example, if you use svnorigin on the 1.6.4 tag, it should say it came
from trunk?


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].

Received on 2009-08-19 07:21:24 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.