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

Accessing history after copy?

From: Jim Paris <jim_at_jtan.com>
Date: 2004-02-24 09:24:04 CET

I had a file foo/NEWS that I removed a few revisions ago.
Then, I restructured my repository a bit:

$ svn mkdir trunk
$ svn mkdir tags
$ svn move foo trunk
$ svn commit
$ svn update
At revision 84.

Then I decided that I wanted to see what I had in NEWS:

$ cd trunk/foo
$ svn cat -r 80 NEWS
svn: Entry has no URL
svn: 'NEWS' has no URL

Hmm, not going to happen. I tried to look at an old revision of a
file that still exists:

$ svn cat -r 83 debug.h
svn: HTTP Path Not Found
svn: PROPFIND request failed on '/svn/blah/!svn/bc/83/trunk/foo/debug.h'
svn: '/svn/blah/!svn/bc/83/trunk/foo/debug.h' path not found

This seems very weird to me. I can still get the old revisions if I
remember the old directory structure and go straight to the server:

$ svn cat -r 80 https://example.com/svn/blah/foo/NEWS
(correct output...)

The question: is this expected behavior? I thought Subversion was
supposed to track history even when moving a directory around like
that. It seems a little weird that "svn log" shows all of the old
history but you can't actually access it directly with "cat" or
"merge". Am I doing something wrong?

-jim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 24 09:23:50 2004

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.