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

how do i svn diff post svn mv?

From: Bob Kuehne <rpk_at_mac.com>
Date: 2004-04-09 17:44:34 CEST


apologies if this is a faq, or if i missed it in the archives.

i just svn mv'd a dir of source to a new locale as i'm cleaning
up our tree. i then wanted to compare a version of the file in
the new location with a prior version. svn log shows a valid
set of old histories, but i can't seem to access them either
via svn diff or svn cat.

here's what i did:

  svn mv dir_a dir_b
  svn ci
  svn log dir_b/file.cpp
  (shows several versions, among them r100)
  svn cat -r100 dir_b/file.cpp
  svn: File not found: revision '100', path '/dir_b/file.cpp'

so, i'm guessing it's some sort of pathing thing, but i'm not
quite sure what to do to point it over to '/dir_a/file.cpp'
at r100. when i try (what seems to me) the obvious:

  svn cat -r100 '/dir_a/file.cpp'
  svn: '/dir_a/file.cpp' is not a working copy

it fails, since that's not really a versioned file. ok, talk
to me like i'm a 4-year old. what am i doing wrong? and how
do i do it right?

finally, i'd love to write this up and toss it in the official
(or unofficial) svn wiki. but i'm not sure where that is. point
me there!

and thank you for the great tool and great list!

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 9 17:45:05 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.