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

Re: how to diff against an version prior to a file move?

From: Joey Hess <joey_at_kitenet.net>
Date: 2003-11-12 06:04:52 CET

Garrett Rooney wrote:
> What does 'svn log -v -r 739 svn+ssh://kitenet.net/home/svn/joey/' tell
> you about the files that were changed in that revision?

It shows only a M on cvsfix.

> It seems like something like:
> $ svn diff -r 738:739
> svn+ssh://kitenet.net/home/svn/joey/trunk/bin/cvsfix
>
> should work... although if it isn't you might also try

I showed the output of that in my original mail, it does not work.

I also tried it with --notice-ancestry: "Filesystem has no item"

> $ svn diff -r 738:739 svn+ssh://kitenet.net/home/svn/joey/
>
> if you don't know precisely what file changed, you can just diff the
> whole repos for that revision, and it should show the change to that
> file in the diff output.

joey_at_dragon:~>svn diff -r 738:739 svn+ssh://kitenet.net/home/svn/joey/trunk/bin
svn: Filesystem has no item

joey_at_dragon:~/bin>svn diff -r 738:739 svn+ssh://kitenet.net/home/svn/joey/trunk/
joey@dragon:~/bin>

Yep, no changes to that directory in that rev. I'm left thinking it
must have moved from somewhere else in a later rev, but durned if I can
figure out how to find where it was at that point in time, without
checking out the whole repository cirta revision 738 and running find
on it.

I understand that every file in a svn repository has a unique id
associated with it. Would there be some way to tell svn diff to use
that unique id instead of whatever path the file had way back when?

-- 
see shy jo

Received on Wed Nov 12 06:00:47 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.