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

Re: svnversion and SubWCRev differences

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 6 Jul 2009 11:18:55 -0400

On Mon, Jul 6, 2009 at 11:08, Phillip Seaver<gtflip_at_gmail.com> wrote:
> After just having done an update at the root of my tree, I get this:
>
> bash-3.2$ SubWCRev .
> Last committed at revision 5267
> Mixed revision range 5152:5269
> Local modifications found
>
> bash-3.2$ svnversion .
> 5269M
>
> The difference is the "5152:5269" revision range.  I don't understand why SubWCRev has a range, but svnversion does not.
>
> I'd rather use SubWCRev in my build when it's available, since it takes about one-third the time as svnversion on this tree.

From svnversion --help
The version number will be a single number if the working copy is
single revision, unmodified, not switched and with an URL that matches
the TRAIL_URL argument. If the working copy is unusual the version
number will be more complex:

 4123:4168 mixed revision working copy
 4168M modified working copy
 4123S switched working copy
 4123P partial working copy, from a sparse checkout
 4123:4168MS mixed revision, modified, switched working copy

From SubWCRev (no arguments specified):
SubWCRev reads the Subversion status of all files in a working copy
excluding externals.

If your question is specifically about "why does svnversion display
this?" then you should ask on the Subversion Users mailing list.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2368406

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-07-06 17:19:04 CEST

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

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