Repo API -- finding the "last revision" of a file
From: Stephen Butler <sbutler_at_elego.de>
Date: Mon, 21 Jan 2008 18:52:30 +0100
Hi folks, especially the repository experts,
On the tree-conflicts branch, we'd like to use the repository history
Suppose Foo.c is to be edited by a merge, but Foo.c does not exist in
1. The files at path Foo.c in merge-left and and in merge-right have
2. A file Foo.c used to exist in the branch the working copy was
3. The "last surviving" Foo.c in the working copy's branch has an ancestor
To make the example more concrete, suppose the user executed the
$ svn merge -r20:25 $trunk_url $mybranch_wc
We have a tree conflict if the following are true:
1. $trunk_url/Foo.c_at_20 and $trunk_url/Foo.c_at_25 have a youngest common
2. There is a "last revision" of Foo.c in $mybranch_url (e.g., if r16
3. YCA1 and the last revision of $mybranch_url/Foo.c have a
Our question is, how to we find the last revision at which Foo.c
path: "Foo.c"
Thanks,
-- Stephen Butler | Software Developer elego Software Solutions GmbH Gustav-Meyer-Allee 25 | 13355 Berlin | Germany fon: +49 30 2345 8696 | mobile: +49 163 25 45 015 fax: +49 30 2345 8695 | http://www.elegosoft.com Geschäftsführer: Olaf Wagner | Sitz der Gesellschaft: Berlin Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org For additional commands, e-mail: dev-help_at_subversion.tigris.orgReceived on 2008-01-21 19:12:56 CET |
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.