Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Fixes the first half of #839708.
* cvs-adjustroot: silently succeed for */CVS/Root entries which
already match the new value. Closes:#839708 (second half).
Fixes the first half of #839708.
* cvs-adjustroot: silently succeed for */CVS/Root entries which
already match the new value. Closes:#839708 (second half).
+ * cvs-adjustroot: reinvoke oursevles via "$0" rather than
+ our hardcoded name. Makes testing easier, etc.
# nonzero exit status when appropriate.
find -path '*/CVS/Root' \
# nonzero exit status when appropriate.
find -path '*/CVS/Root' \
- \( -exec cvs-adjustroot --reinvoke "$old" "$new" '{}' ';' \
+ \( -exec "$0" --reinvoke "$old" "$new" '{}' ';' \
-o -exec false '{}' + \
\)
-o -exec false '{}' + \
\)