Excuse the continued conversation with myself.....

Bug 952379 has landed on m-c so you can now use the work flow below:

$ hg qrefresh
$ mach clang-format

This reformats only the lines that are different from tip^. It doesn't
show anything on the console. Review the changes with your favourite
diff tool. You can see a beautiful screenshot here:

http://people.mozilla.org/~ajones/clang-format/meld-screen-shot.png

Information on how to set up meld is available here:

http://mercurial.selenic.com/wiki/ExtdiffExtension
http://coffeepluscode.wordpress.com/2012/10/11/using-meld-with-mercurial/

Once you're happy with the changes then you do:
$ hg qrefresh
$ hg bzexport ...

Otherwise you do:
$ hg revert --all

Please put any issues you find into 961541.

Anthony

_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to