hg-git: indirect cloning screws up the graph?

Uwe Brauer oub at mat.ucm.es
Sun Oct 2 16:12:28 UTC 2016


Hi

That is sort of absurd.

I do the following.

    -  hg clone git://git.savannah.gnu.org/auctex.git auctex-hg-direct

 cd auctex-hg-direct
 hg log -G
@  changeset:   6854:a9996373b4cb
|  bookmark:    master
|  tag:         default/master
|  tag:         tip
|  user:        Mosè Giordano <mose at gnu.org>
|  date:        Tue Sep 27 12:30:37 2016 +0200
|  summary:     Fix to my previous commit
|
o  changeset:   6853:948be918f3e7
|  user:        Tassilo Horn <tsdh at gnu.org>
|  date:        Mon Sep 19 18:11:52 2016 +0200
|  summary:     Improve docs added/changed in last commit


 looks ok, but
 hg heads | grep changeset | wc -l
 reveals 48 (!) Heads.

Now to method 2
    -  git clone git://git.savannah.gnu.org/auctex.git auctex-git
    -  hg clone auctex-git auctex-hg-indirect

(Not all bookmarks have been pulled), so I edit .hg/hgrc in
auctex-hg-indirect
from
[paths]
default = /home/oub/ALLES/emacs/site-lisp/packages/src/Git/auctex-git

   
To
path
default = git://git.savannah.gnu.org/auctex.git

And I run

Hg pull


Then the graph looks like

o    changeset:   6854:1ea19cbde4cc
|\   bookmark:    simplify-TeX-parse-error
| |  tag:         default/simplify-TeX-parse-error
| |  tag:         tip
| |  parent:      6853:d7b23896a7d5
| |  parent:      6528:80948ef561c8
| |  user:        Tassilo Horn <tsdh at gnu.org>
| |  date:        Sun Jan 31 08:17:25 2016 +0100
| |  summary:     Merge branch 'master' into simplify-TeX-parse-error
| |
| o    changeset:   6853:d7b23896a7d5
| |\   parent:      6852:12c6282c9bb7
| | |  parent:      6519:b78b35b2dfc9
| | |  user:        Tassilo Horn <tsdh at gnu.org>
| | |  date:        Sun Jan 24 06:32:22 2016 +0100
| | |  summary:     Merge branch 'master' into simplify-TeX-parse-error

and more and more merges lines appear till the graph is unreadable.

What is the reason for this strange behavior?

Uwe Brauer



More information about the Mercurial mailing list