Find revision in trunk that a branch was created from

I am trying to merge the latest changes from trunk into a branch of my project, but the problem is I don’t know what revision of the trunk I checked out that I eventually created the branch from. I would think SVN logged this somewhere. Does anyone know how I can find the revision number?

  • Use merge or rebase to maintain a deployment branch
  • git: rename local branch failed
  • How do I see the commit differences between branches in git?
  • git branch naming best practices
  • Git: how to maintain permanent parallel branches
  • How do I rename my git 'master' branch to 'release'?
  • In Git, list names of branches with unpushed commits
  • Can we tell CruiseControl.NET to ignore source control timeout errors?
  • Where to find prebuilt binaries for subversion 1.6 for Ubuntu (or Debian)?
  • TortoiseSVN not saving authentication details
  • Git to svn: Adding commit date to log messages
  • How to deal best with SVN and local changes, that should not be committed?
  • 5 Solutions collect form web for “Find revision in trunk that a branch was created from”

    From the command line, the –stop-on-copy flag can be used to help show you where you copied a branch from:

    svn log --verbose --stop-on-copy $REPOSITORY/branches/feature
    

    The last line of will say something like this:

    Changed paths:
       A /branches/feature (from /trunk:1234)
    

    Are you using TortoiseSvn or command line?

    Command Line: svn log --stop-on-copy and then look at the smallest rev number.

    Tortoise SVN: right-click, tortoise-svn, show log, make sure 'stop on copy' is *checked* and press refresh. Scroll to the bottom and find the smallest rev number.
    enter image description here

    Perhaps a little bit late but.

    If you’re currently in the branch you can run:

    svn log -r 1:HEAD --limit 1 --stop-on-copy
    

    It displays the first revision of the branch i.e. when you created it.

    If you have used svn copy to create a tag/branch, then svn log can tell you from where your stuff in the branch was copied. For example, let’s say we have svn://svn/trunk/foo and we have created a branch svn://svn/branches/super_foo. Run svn log -v svn://svn/branches/super_foo, it will tell you something like this – /branches/super_foo from /trunk/foo:22890, which means that you have copied revision 22890 of trunk into your branch.

    For the Cornerstone app, to see where a tag or branch originated, look in the timeline.

    Git Baby is a git and github fan, let's start git clone.