how to obtain git's information when pulling in mercurial.

Manuel Jacob me at manueljacob.de
Tue May 19 10:41:03 UTC 2020


Hi Uwe,

On 2020-05-19 10:48, Uwe Brauer wrote:
> [...]
> 
> 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.

You’re right that this is a hg-git bug: 
https://foss.heptapod.net/mercurial/hg-git/issues/315

> 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?

Apart from the missing hook, what information do you miss? For questions 
like this, it’s unlikely that you get a helpful answer.

-Manuel



More information about the Mercurial mailing list