The default log view seems very nice, but I find the new phases feature really useful and I'd find it useful to have a style that is identical to 'default' but includes the phase information. I can get this with extra flags to log like verbose/debug, but that adds a lot of extra information I'm not interested in. Obviously I could add this as a local style, but I imagine this would be useful to others as well and hence the suggestion of a new global style. Having said that, I'm not sure what it should be called! I'm guessing it would be undesirable to change the default style to include phase as this would change the output format and could break tools that depend on it.
--- Bug imported by bugzilla@serpentine.com 2012-05-12 09:31 EDT --- This bug was previously known as _bug_ 3435 at http://mercurial.selenic.com/bts/issue3435 Bug Status was UNCONFIRMED but everconfirmed was true Setting status to CONFIRMED
I would need that additional information either. Because i have to log the deployed state of my tool and this state is depending on whether the change is pushed to server or not. In my case it would be great, if the comand "hg parent" (with an additional comand) would return the phase of the changeset.
I had put the phase information on the default log view. Before: changeset: 18952:8086b530e2ac user: FUJIWARA Katsunori <foozy@lares.dti.ne.jp> date: Mon Apr 15 01:22:15 2013 +0900 summary: localrepo: use "vfs.rename()" instead of "util.rename()" Now: changeset: 18952:8086b530e2ac user: FUJIWARA Katsunori <foozy@lares.dti.ne.jp> date: Mon Apr 15 01:22:15 2013 +0900 phase: public summary: localrepo: use "vfs.rename()" instead of "util.rename()" This is the proper view or I must add something else?
If you've changed the default output of 'hg log', you've probably broken hundreds of tests: http://mercurial.selenic.com/wiki/CompatibilityRules Please discover the --style option referred to in $title: $ hg log --style bisect -l1 changeset: 18990:257afe5489d4 bisect: bookmark: @ tag: tip user: FUJIWARA Katsunori <foozy@lares.dti.ne.jp> date: Wed Apr 10 02:27:35 2013 +0900 summary: largefiles: improve repo wrapping detection
Fixed by http://selenic.com/repo/hg/rev/5c5152af0d15 Iulian Stana <julian.stana@gmail.com> log-style: add a log style that is default+phase (issue3436) There is a new style called phases style. Usage:: hg log --style phases Why do we need this new style - in what way is it different from or similar to existing styles? The new style is default + phases information. With the new phases feature the users exhibited their desire for a new style that could help them. Why do this need a new style - couldn't it be folded into an existing style? The default style and the new one are about the same, the difference is the phases tag. The users find both styles useful, this means that the both styles must exist. (please test the fix)