Why does "svn diff" forbid "-rCOMMITTED"?
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-09-08 18:32:59 CEST
What is the reason for this bit of code that forbids "-rCOMMITTED"? It does not forbid "-rPREV".
Index: subversion/libsvn_client/diff.c
/* Revisions can be said to be local or remote. BASE and WORKING,
I have deleted this locally, and then it succeeds in a simple manual test of "svn diff -rCOMMITTED ...", and it passes all the regression tests.
It doesn't make sense to specify "COMMITTED" against a URL, but that's the same as with "PREV", and they generate the appropriate error message "need a version-controlled path to fetch local revision info.", so no problem there.
- Julian
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.