Shaun Luttin
Shaun Luttin

Reputation: 141512

Determine a subverion branch's ancestor branch

I have a long running subversion branch. I am trying to determine whether is has any other branch as an ancestor. For example, if I am on branch staging the following command would be perfect:

> svn log --show-ancestor-branch
trunk

Upvotes: 0

Views: 81

Answers (1)

alroc
alroc

Reputation: 28174

Run svn log --stop-on-copy MYBRANCH. The oldest log will tell you where it was copied from.

Upvotes: 3

Related Questions