Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* rebuild on current sid: Closes:#811216.
* cvs-adjustroot: properly exit nonzero in case of error.
Fixes the first half of #839708.
+ * cvs-adjustroot: silently succeed for */CVS/Root entries which
+ already match the new value. Closes:#839708 (second half).
--
if $reinvoke; then
filename="$1";
+ if cmp -- "$filename" <(printf "%s\n" "$new"); then exit 0; fi
cmp -- "$filename" <(printf "%s\n" "$old")
printf "%s\n" "$new" >"$filename".new
mv -f -- "$filename".new "$filename"