You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kynn Jones <ky...@gmail.com> on 2008/10/08 21:34:05 UTC

Noob: how to get a directory tree's latest revision?

Suppose that at some time I execute

% mkdir /some/path
% cd /some/path
% svn co svn://myhost/repo/myproj/trunk myproj

...and suppose that after I do this the resulting tree under
/some/path/myproj remains unmodified, but other users commit to the
repository new changes to myproj.  I.e. the tree under /some/path/myproj has
become out-of-date relative to the repository, but is consistent with some
revision number in the repository.

How can I determine what this revision number is?

TIA!

Kynn

Re: Noob: how to get a directory tree's latest revision?

Posted by Konstantin Kolinko <kn...@gmail.com>.
2008/10/9 Kynn Jones <ky...@gmail.com>:
> Suppose that at some time I execute
> % mkdir /some/path
> % cd /some/path
> % svn co svn://myhost/repo/myproj/trunk myproj
> ...and suppose that after I do this the resulting tree under
> /some/path/myproj remains unmodified, but other users commit to the
> repository new changes to myproj.  I.e. the tree under /some/path/myproj has
> become out-of-date relative to the repository, but is consistent with some
> revision number in the repository.
> How can I determine what this revision number is?
> TIA!
>

svnversion utility, see
http://svnbook.red-bean.com/en/1.5/svn.ref.svnversion.re.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org