Fun stuff in tip

Matt Mackall mpm at selenic.com
Thu Sep 15 03:13:41 CDT 2005


Bryan has reworked several more commands, including cat, rm, copy, and
rename to use the walk engine. He's also made hg remove actually
remove files and hg copy and hg rename actually copy and rename files
in the working directory. Copy and rename also allow the old-style
after the fact processing with --after, which can be useful when
you've done the copy or rename while refactoring in your editor.

I've also finished up the file filtering code. This allows you to
specify arbitrary file filtering for checkin/checkout in hgrc, eg:

[encode]
*.gz = gunzip

[decode]
*.gz = gzip

This can also be used to handle line ending issues via
dos2unix/unix2dos and expansion of variables ala CVS.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list