During merges mercurial leaves .orig file for any unresolved file. But after manually resolving problems and marking a file correct it does not delete the .orig file. Can it be automatically removed by some command?
I work on a Mac so I can use something like:
find . -iname '*.orig' -exec rm '{}' ';'
and alias it or something, but I'd rather use something like hg cleanup...
UPDATE:
Since some time now, Purge extension is bundled with Mercurial and solves this problem nicely.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…