Mercurial > emacs
view move-if-change @ 81982:d4b8336cd8f5
* vc-hg.el (vc-hg-print-log): Deal with multiple file arguments.
(vc-hg-registered): Replace if with when.
(vc-hg-state): Deal with nonexistent files and handle removed
files.
(vc-hg-dir-state, vc-hg-dired-state-info): New functions.
(vc-hg-checkout): Re-enable.
(vc-hg-create-repo): Fix typos.
* vc.el: Fix typo.
* vc-mcvs.el (vc-mcvs-create-repo): Fix typos.
* vc-bzr.el (vc-bzr-create-repo): New function.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Fri, 20 Jul 2007 00:09:17 +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