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

Re: Subversion Revision Numbers driving me Batty. What about a SECOND revision number?

From: Robert Simmons <derisor_at_arcor.de>
Date: 2003-10-22 00:46:03 CEST

I'm gonna beat this guy to death with a regular expressions manual. =) JK

I dont see what the big deal is about file versions. I know some people wouldnt
use them. Others would. Life with variety is soo cool.

-- Kraythe

"Files" <files@poetryunlimited.com> wrote in message
news:18141.167.242.48.41.1066775664.squirrel@squirrel.poetryunlimited.com...
> Robert Simmons said:
> > a file has the version 105. Now I know damn well that file has been
> > changed
> > perhaps a grand total of 10 times but my version system tells me 105
> > times.
>
> I vote for encapsulating the following into the tools directory as script
> that can be hooked onto via svn command line switch (not sure how to
> effect it) or as a standalone svn_file_rev - not sure how well it would
> work under windows. YMMV.
>
> svn log "$1" | egrep "^rev [0-9]*:" | wc -l | sed 's/^ *//g'
>
> +1
>
> $0.02
>
> Cheers
>
> --
> Shamim Islam
> BA BS

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 22 00:51:01 2003

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.