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

[PATCH] remove obsolete FAQ entry

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 15 Aug 2008 02:08:23 +0200


did I get this right and the FAQ entry patched out below
was hopelessly outdated?
Note that the issue it is referring to was closed in 2004.


* www/faq.html
  (no-copy-history): Remove, today's clients can follow copy-from
    information transparently.


Or should the entry be retained and refer people to the chapter
about peg revisions in the Subverison book?
Sounds like that might still apply here, but I'm not sure.


Index: www/faq.html
--- www/faq.html (revision 32474)
+++ www/faq.html (working copy)
@@ -2859,60 +2859,6 @@
-<div class="h3" id="no-copy-history" title="no-copy-history">
-<h3>I'm trying to look at an old version of my
- file, but svn says something about "path not found". What's going
- on?</h3>
-<p>A nice feature of Subversion is that the repository understands
-copies and renames, and preserves the historical connections. For
-example, if you copy <tt>/trunk</tt> to <tt>/branches/mybranch</tt>,
-then the repository understands that every file in the branch has a
-"predecessor" in the trunk. Running <tt>svn log --verbose</tt> will
-show you the historical copy, so you can see the rename:</p>
-r7932 | joe | 2003-12-03 17:54:02 -0600 (Wed, 03 Dec 2003) | 1 line
-Changed paths:
- A /branches/mybranch (from /trunk:7931)
-<p>Unfortunately, while the repository is aware of copies and renames,
-almost all the svn client subcommands are <b>not</b> aware. Commands
-like <tt>svn diff</tt>, <tt>svn merge</tt>, and <tt>svn cat</tt> ought
-to understand and follow renames, but don't yet do this. It's
-scheduled as post-1.0 feature, currently <a
-#1093</a>. For example, if you ask <tt>svn diff</tt> to compare two
-earlier versions of <tt>/branches/mybranch/foo.c</tt>, the command
-will not automatically understand that the task actually requires
-comparing two versions of <tt>/trunk/foo.c</tt>, due to the rename.
-Instead, you'll see an error about how the branch-path doesn't exist
-in the earlier revisions.</p>
-<p>The workaround for all problems of this sort is to do the legwork
-yourself. That is: <i>you</i> need to be aware of any renamed paths,
-discover them yourself using <tt>svn log -v</tt>, and then provide
-them explicitly to the svn client. For example, instead of
-$ svn diff -r 1000:2000 http://host/repos/branches/mybranch/foo.c
-svn: Filesystem has no item
-svn: '/branches/mybranch/fooc..c' not found in the repository at revision 1000
-...you would instead run
-$ svn diff -r1000:2000 http://host/repos/trunk/foo.c
 <div class="h3" id="digest-auth" title="digest-auth">
 <h3>Why doesn't HTTP Digest auth work?</h3>

To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-15 02:08:44 CEST

This is an archived mail posted to the Subversion Dev mailing list.