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

svn co without -r gives confusing results

From: Jan Holec <jholec_at_retia.cz>
Date: 2007-04-13 11:22:15 CEST

Hello,

  I don't quite understand the way 'svn checkout' works.

  Example:
    I want to check out the last revision on the trunk
    (which is 131), so I run:

    svn co file:///repository/myproject/trunk myproject
    A ....
    ......
    Checked out revision 146.

  But - revision 146 is NOT located on the trunk at all!
  It's on myproject/branches/3.02 (and it also happens to be
  the last revision commited to the repository).

  -and-

  the checked-out sources really seem to be revision 131, not 146.

  Now I wouldn't dare to do a commit because I have no idea where
  in the repository the new revision would end up - on the trunk,
  on the branch, or both...?

  With the -r switch it works as expected:

    svn co file:///repository/myproject/trunk myproject -r131
    A ....
    ......
    Checked out revision 131.

  Can anyone explain this strange behaviour?

  Thanks,
    Jan Holec <jholec at retia.cz>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 13 11:09:50 2007

This is an archived mail posted to the Subversion Users mailing list.