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

Re: update output idea

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-04-27 09:32:50 CEST

Karl Fogel <kfogel@newton.ch.collab.net> writes:
> "svn st -v" output tells you both the highest revision number the
> local file has seen, and the revision in which the file last changed.
> It does *not* tell you the current head of the repository (you seem to
> think it does, but you have to add the "-u" flag for that). So if one
> understands the output of "svn st -v", one will not be confused.

By the way, didn't mean that to sound as harsh as it came out, Mark.
I just wasn't sure if you were misunderstanding "svn st -v", or if I
was misunderstanding your mail.

Anyway, in "svn st -v", the numbers on the individual file lines
always refer to something about that file, not something about the
repository. But if you add the "-u" flag, then (among other things)
at the end the status output it shows you the repository head
revision. Here's a real life example, somewhat abbreviated:

   floss$ svn st -nvu
   __ 1789 1789 kfogel .
   _ 1789 1259 jerenkra ./BUGS
   _ 1789 1784 sussman ./CHANGES
   _ 1789 1600 kfogel ./COMMITTERS
   _ 1789 1219 kfogel ./COPYING
   __ 1789 1753 kfogel ./HACKING
   _ 1789 1 svn ./IDEAS
   __ 1789 1780 striker ./INSTALL
   _ 1789 1738 jerenkra ./Makefile.in
   _ 1789 1319 kfogel ./PORTING
   __ 1789 1363 sussman ./README
   _ 1789 1669 kfogel ./autogen.sh
   _ 1789 1777 cmpilato ./build.conf
   _ 1789 1738 jerenkra ./configure.in
   Head revision: 1798

Head is 1798, but (as you can see) it looks like I haven't done an
update since 1789. I might run an update and none of these files
would change, but all the 1798's would change to 1798's.

Hope that helps,
-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr 27 09:30:54 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.