Mercurial > emacs
view move-if-change @ 33234:39c359a5c419
(cvs-mode-marked): New arg `noquery'.
Prompt user for a file rather than raising an error.
(cvs-enabledp): Fix call to cvs-mode-marked.
(cvs-insert-file): New function (extracted from cvs-mode-insert).
(cvs-mode-insert): Use it. Change the init prompt' value.
(cvs-mode-tree): Use cvs-status-cvstrees instead of cvs-status-trees.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 06 Nov 2000 07:17:33 +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