views:

166

answers:

2

I don't like Mercurial polluting the source tree with .orig files and such. Is it possible to keep all such files in /tmp, for example?

A: 

I'm not sure that's mercurial doing that, it might just be your merge programs. If it's mercurial, I'm sure it's not currently configurable.

tonfa
The revert command makes `.orig` files unless you use `--no-backup`.
Martin Geisler
+2  A: 

The question to which you link: http://stackoverflow.com/questions/1067680/how-to-automatically-remove-all-orig-files-in-mercurial-working-tree has an answer that suggests using an update hook to delete the files automatically, which you could very easily turn to a 'mv'. That would be automatic and easy.

Ry4an