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

about the delta base

From: Bo Chen <bo.irvine.chen_at_gmail.com>
Date: Wed, 24 Apr 2013 12:22:22 -0400

I want to use a simple example to describe my question.

Version 1 has 1 file: A1

I change A1 to A2, and add B1, generate revision 2: A2, B1

change A2 to A3, change B1 to B2, add C1, generate revision 3: A3, B2, C1

Change A3 to A4, change B2 to B3, change C1 to C2, generate revision 4: A4,
B3, C2

The skip delta in the server side should be computed as:

A1->A2, A1->A3->A4

B1->B2, B1->B3

C1->C2

File B's initial version B1 is in revision 2, rather than revision 1,
similarly for file C, whose initial version C1 is in revision 3, rather
than revision 1. My question is, is there an API in subversion, which can
find out the revision number of the corresponding initial version for a
given file (e.g., find out B2's initial version B1 is in revision 2)?

Thanks.

Bo
Received on 2013-04-24 18:22:58 CEST

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.