how to obtain git's information when pulling in mercurial.
Malcolm Matalka
mmatalka at gmail.com
Tue May 19 12:35:30 UTC 2020
Uwe Brauer <oub at mat.ucm.es> writes:
> Hi
>
> I just pulled from a git repository which had some recent pushes.
> I saw:
> pdating 0fbeaf1..ef4a45c
> Fast-forward
> Hoja 1/materiales | 1 -
> Hoja 2/materiales | 1 -
> Hoja 3/materiales | 1 -
> Hoja 3/mieuler.m | 1 -
> Hoja 3/mieulermej.m | 1 -
> Hoja 3/mieulermod.m | 1 -
> Hoja 3/mirk4.m | 1 -
> Hoja 4/materiales | 1 -
> Hoja 4/mieuler.m | 1 -
> Hoja 5/materiales | 1 -
> Hoja 5/readme.md | 2 --
> {Hoja 1 => hoja1}/corazon.m | 2 +-
> hoja1/material | 1 +
> {Hoja 2 => hoja2}/corazon.m | 1 +
> hoja2/material | 1 +
> {Hoja 2 => hoja2}/mieuler.m | 0
> {Hoja 2 => hoja2}/mieulermej.m | 0
> {Hoja 2 => hoja2}/mieulermod.m | 0
> {Hoja 2 => hoja2}/mirk4.m | 0
> {Hoja 3 => hoja3}/.ipynb_checkpoints/Untitled-checkpoint.ipynb | 0
> {Hoja 3 => hoja3}/.ipynb_checkpoints/diagramas-checkpoint.m | 0
> {Hoja 3 => hoja3}/diagramas.m | 0
> {Hoja 3 => hoja3}/errors.m | 0
> hoja3/material | 1 +
>
> Etc etc
>
> I also had cloned that directory via the hg-git plugin but when I pulled
> (hg pull -u)
> I just saw
>
> importing git objects into hg
> updating to active bookmark master
> 37 files updated, 0 files merged, 37 files removed, 0 files unresolved
>
>
> That might be well a problem with the hg-git extension.
>
> But even for pure mercurial repositories I have
> [hooks]
> changegroup.diffstat=hg diff --stat -r "p1($HG_NODE)" -r "max(descendants($HG_NODE))"
> outgoing=hg diff --stat -r "p1($HG_NODE)" -r "max(descendants($HG_NODE))"
>
> But still this seems not to provide the same amount of information, git
> provides.
>
> Any suggestions?
Does adding this to your hg config help? You'll need to re-pull the
changes (or re clone it).
[git]
similarity = 50
>
> Ok I can always do
>
> hg log --stat
>
> But still, that git information seems easier to read.
>
> Regards
>
> Uwe Brauer
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
More information about the Mercurial
mailing list