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

Determining previous revision number

From: Jason Rust <jrust_at_rustyparts.com>
Date: 2003-11-04 23:21:35 CET

Is there any way from the command line to determine what the previous
revision number is, given an a specific revision number. The problem is
that I have a list of files changed in a specific commit from svn log -v
(I'm writing a program to display the patchset of a commit).
However, I need to know what the previous revision of each of those
files is so that I can link to that revision. I would think using some
combination of svn log -r "PREV":X would work, but no luck yet.
Obviously I could get the complete log for the file and iterate over
that until I find it, but it seems there should be an easier way.

Thanks,
-Jason

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 4 23:17:27 2003

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

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