What svn revision was this branch created in?

Let’s talk about non-controversial subjects for a change: how do I find out in which svn revision a branch was created?

The answer is svn log --stop-on-copy . which stops at the revision that created the branch.

Courtesy of Jukka, filed in the notes to self category.

Advertisement

2 Responses to What svn revision was this branch created in?

  1. shrinivasan says:

    svn log -v -r0:HEAD –stop-on-copy –limit 1

    is the command to get exact result.

  2. Jacques Le Roux says:

    Thanks Bertrand,

    Much useful

    Jacques
    PS: did not get shrinivasan’s solution to work using svn 1.7.1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.