We're Moving to Mercurial
Masklinn
masklinn at masklinn.net
Tue Feb 21 08:58:08 UTC 2012
On 2012-02-21, at 09:33 , Angel Ezquerra Moreu wrote:
>
> For example, what do you mean when you say that it "allows you to fold
> up branches (the little +/- icon) to make the screen more readable"?
I can explain that although I do not agree with the sentiment: one of
bazaar's over-arching goal is to keep previous users of centralized VCS
in familiar waters. As a result, bazaar tries to present the user with
a linear history. It does so not by just linearizing all commits and
mixing and merging parallel braches (as a standard `hg log` would do)
but by hiding any commits outside of the mainline (where the mainline is
composed of the chain of first parents to any commit from the head).
In `bzr log` this results in the following message being printed at
the end of a log if any merge revision has been printed:
> Use --include-merges or -n0 to see merged revisions.
in `qlog`, merge revisions are instead represented with a [+] sign
(where usual revisions are an empty colored circle). Clicking this
[+] opens the merged branch. See third-party screenshot[0] for a
demonstration, here the merge revision "12" has been unfolded to see
the revisions merged into it, whereas revisions 7 to 11 are in their
default folded state.
> Also, what does "Bazaar's '--remember' option" do which you like so
> much?
`--remember` is an option to `bzr push` making the LOCATION (DEST in
`hg push`) into the default push location.
It is mostly useful in that bazaar currently (that may be solved in 2.5)
does not allow for multiple heads in the same repository, so any new
branch (represented as a clone locally) will also have to be pushed to
a separate remote repository.
As a result, correctly setting push destinations may be a frequent task.
Which `--remember` kind-of solve.
That front is one of the few where I believe git has the edge over
mercurial, the bazaar approach strikes me as a solution to a problem
bazaar creates for itself but the configuration of multiple remotes
is significantly more annoying to do in hg than in git.
[0] http://4.bp.blogspot.com/_981heDvOCaQ/TFu5q_YbL_I/AAAAAAAABv4/rtFwGmcAQA0/s1600/qbzr.png
More information about the Mercurial
mailing list