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

Quickly showing branch ancestrally?

From: Paul Hammant <paul_at_hammant.org>
Date: Tue, 15 Sep 2015 05:10:30 -0400

OK, 'svn copy' makes branches. Most would follow the standard
trunk/tags/branches model. If you don't though, if you dip your toe into
the world of creative/arbitrary branch designs, it is not clear how you
catalog your branch mappings. By comparison, Perforce has branch-specs
(which are not perfect in themselves).

Subversion doesn't make it easy to determine that a branch was formed from
a certain place. There's a stack overflow article -
http://stackoverflow.com/questions/4015412/how-to-find-the-common-ancestor-of-two-branches-in-svn
- that asks about determining ancestry, with no one-liner answer, and
certainly nothing in the subversion command set.

Is there no simple "svn show-branch-ancestor url/path" operation in 1.9x?

Subversion must know that info, as it is comfortable issuing quick
rejections to my commits:

    svn: E195016: 'svn://127.0.0.1/foo/three/test.txt_at_10' must be
ancestrally related to 'svn://127.0.0.1/foo_at_9'

Thanks in advance,

- Paul
Received on 2015-09-15 11:10:53 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.