Dave Stubbs <email@example.com> wrote on 02/13/2006
> I tried to do a Compare With -> Branch/Tag... but got an error.
> The dialog pops up and I type in the location of the file to compare
> it's been deleted in the repository head so you can't browse to it. I
> a revision where the file does exist and click OK. Then an error box
> The SVN console has this:
> Bad URL passed to RA layer
> svn: URL 'http://flexible/svn/repo1/trunk/directory/file.java'
> revision '308'
> Filesystem has no item
> svn: URL 'http://flexible/svn/repo1/trunk/directory' non-existent in
> 308 is the head revision. The revision I chose was 298. The entire
> above was deleted in revision 306.
> I've confirmed that the URL is correct: I cut and pasted it after doing
> successful dry-run merge on the file.
> I take it this shouldn't happen?
Subversion supports what you want to do by passing it something called a
"Peg revision". In your case, the peg revision would be 298, since the
file still existed at that revision. This feature was added post 1.0, so
not all of the JavaHL API's have it exposed to us, although I think there
might be diff API's now where it is. Anyway, if you do not pass an
explicit peg revision, then Subversion defaults to HEAD. The second
problem, is that if the API does support peg revisions, all we can do is
infer it from what you enter, since we would not want to add fields for it
to the UI.
One thing you can try that might work, but probably will not, is to
specify the URL like this:
That is the command-line syntax for specifying a peg revision. I do not
think the library API supports that syntax, which is why I do not think it
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Mon Feb 13 15:14:18 2006