> From: Hari Kodungallur [mailto:hkodungallur_at_gmail.com]
>
>
> On Sun, Dec 21, 2008 at 11:46 PM, Ryan Schmidt
<subversion-2008c_at_ryandesign.com> wrote:
>
>
> On Dec 22, 2008, at 01:43, Dongsheng Song wrote:
>
> > 2008/12/22 Ryan Schmidt:
>
> >
> > [dongsheng_at_x64-linux:~/var/svn/svnbook/book]%
svnversion
> > 3386
> > [dongsheng_at_x64-linux:~/var/svn/svnbook/book]%
svnversion -c
> > 57:3384
> >
>
>
> I am trying to figure out a reason why svnversion would
print 3386, and the same command with -c would not have 3386 in the
range. Since 3386 is the highest rev in the working copy, there must be
some file/dir in the working copy that was last changed in 3386.
>
> thanks,
> -Hari
That would only be true if the working copy points to the whole
repository.
If the working copy is only of the trunk, where there are other
branches, or of only one of many projects, then there could be changes
committed to the repository that are not represented in the working
copy.
In the example above:
$ svn log -qvr3384:3386 http://svn.red-bean.com/svnbook
------------------------------------------------------------------------
r3384 | sussman | 2008-12-19 14:19:20 +0000 (Fri, 19 Dec 2008)
Changed paths:
M /trunk/src/en/book/ch01-fundamental-concepts.xml
M /trunk/src/en/book/ch04-branching-and-merging.xml
------------------------------------------------------------------------
r3385 | jmfelderhoff | 2008-12-21 16:45:07 +0000 (Sun, 21 Dec 2008)
Changed paths:
M /trunk/src/de/book/ch04-branching-and-merging.xml
------------------------------------------------------------------------
r3386 | jmfelderhoff | 2008-12-21 18:28:51 +0000 (Sun, 21 Dec 2008)
Changed paths:
M /trunk/src/de/book/ch04-branching-and-merging.xml
------------------------------------------------------------------------
you can see that in revisions 3385 and 3386, no change was made to the
English version of the book. I'd guess that your working copy points to
<http://svn.red-bean.com/svnbook/trunk/src/en/book/>. Try the command
svn info
to find out.
Rob.
________________________________________________________________
This message has been independently scanned for the Softel Group and cleared of containing viruses and other malicious data.
Powering Television Beyond the Video (TM)
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=989544
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-22 09:52:35 CET