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

I need to get a snapshot of only files in a certain reversion range

From: Jeff Pierson <jpierson_at_realgreen.com>
Date: 2006-01-26 15:38:34 CET

I know that I can write a script to query files involved in a particular
reversion range and then loop through the results to retrieve each one
individually however I was wondering if there is an easier way. The way that
seems most intuitive to me is to specify a range in an export command as
shown below.

 

Example 1: Get all of the highest versioned files in the range of 64 to 66

export -r 64:66 svn://domain/projects/projectname

 

OR

 

Example 2: Get only files revised in revision 66

export -r 66:66 svn://domain/projects/projectname

 

 

This seems like the most intuitive way to get a dump of files in a reversion
range but it is clear by the error “svn: Revision range is not allowed” that
this command is invalid. Mainly it would like to find a way to only get the
files involved in a single revision or between a revision range however it
seems that export is intended to get a complete picture of the repository at
a given revision. I’m I going about this the wrong way? If anybody knows a
way to do this please enlighten me.

 

Thanks,

Jeff

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.22/239 - Release Date: 1/24/2006
 
Received on Thu Jan 26 17:30:50 2006

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.