[issue932] glog/view fail to match lines of development
Joel Rosdahl
joel at rosdahl.net
Fri Jan 18 22:32:21 UTC 2008
Thomas Arendsen Hein <mercurial-bugs at selenic.com> writes:
> New submission from Thomas Arendsen Hein <thomas at intevation.de>:
>
> Using hg glog from and on current hg-stable (03ce5a919ae3) yields up
> to 65 lines of parallel development. Doing the same thing on the
> main repo (even if using -r 03ce5a919ae3:null) doesn't show the
> problem.
>
> Steve Borho mentioned that "hg view --limit 0" shows the same problem.
Well, the graph of hg-stable really does look that way. The phenomenon
occurs because the two repos have changesets in different orders.
Notice that the "Merge with crew-stable" changesets in hg-stable tend
to have one parent several hundred revisions away. The same changesets
have much closer parents in the main repo.
Consider this graph:
@ H
|\
| o Y5
| |
o | X5
|\|
| o Y4
| |
o | X4
|\|
| o Y3
| |
o | X3
|\|
| o Y2
| |
o | X2
|\|
| o Y1
| |
o | X1
|\|
| o Y0
| |
o | X0
|/
o B
What if we reorder the changesets a bit?
@ H
|\
| o X5
| |\
| | o X4
| | |\
| | | o X3
| | | |\
| | | | o X2
| | | | |\
| | | | | o X1
| | | | | |\
| | | | | | o X0
| | | | | | |
o | | | | | | Y5
|/ / / / / /
o / / / / / Y4
|/ / / / /
o / / / / Y3
|/ / / /
o / / / Y2
|/ / /
o / / Y1
|/ /
o / Y0
|/
o B
Regards,
Joel
--
Joel Rosdahl <joel at rosdahl.net>
Key BB845E97; fingerprint 9F4B D780 6EF4 5700 778D 8B22 0064 F9FF BB84 5E97
More information about the Mercurial-devel
mailing list