Mercurial > emacs
view move-if-change @ 42549:6301bb6ec388
(vc-rcs-steal-lock): Do a real checkout after stealing the lock, so
that we see expanded headers.
(vc-rcs-trunk-p, vc-rcs-branch-part, vc-rcs-branch-p,
vc-rcs-minor-part, vc-rcs-previous-version): Removed. These are
available from vc.el. Updated all callers.
author | André Spiegel <spiegel@gnu.org> |
---|---|
date | Sat, 05 Jan 2002 17:21:06 +0000 |
parents | 354e0c45cedf |
children | 14a97ab281d5 |
line wrap: on
line source
#!/bin/sh if test -r $2 then if cmp $1 $2 > /dev/null then echo $2 is unchanged rm -f $1 else mv -f $1 $2 fi else mv -f $1 $2 fi