Mercurial > emacs
view move-if-change @ 111749:6e15675f8126
Document VC headers and other VC changes.
* maintaining.texi (Version Control): Say "commit", not "check in".
(Version Control Systems): Simplify descriptions.
(VCS Merging, VCS Changesets, VCS Repositories): New nodes, split from
VCS Concepts.
(VC Mode Line): Update example.
(Old Revisions): Document revert-buffer for vc-diff.
(Log Buffer): Promote to a subsection. Document header lines.
* emacs.texi (Top): Update node listing.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 20 Nov 2010 18:16:10 -0500 |
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