On Mon, Jun 01, 2020 at 11:32:48AM -0400, Josef 'Jeff' Sipek wrote:
> # HG changeset patch
> # User Josef 'Jeff' Sipek <jef...@josefsipek.net>
> # Date 1591019387 14400
> #      Mon Jun 01 09:49:47 2020 -0400
> # Node ID c8ee7f58b11b835918e1e83b89741999f8809866
> # Parent  e05b94be1ba0cd6e2ccd9c1688a82ff3a8103a7e
> git: properly visit child tree objects when resolving a path

queued 1-4, thanks

>
> diff --git a/hgext/git/manifest.py b/hgext/git/manifest.py
> --- a/hgext/git/manifest.py
> +++ b/hgext/git/manifest.py
> @@ -56,8 +56,9 @@ class gittreemanifest(object):
>              return val
>          t = self._tree
>          comps = upath.split('/')
> +        te = self._tree
>          for comp in comps[:-1]:
> -            te = self._tree[comp]
> +            te = te[comp]
>              t = self._git_repo[te.id]
>          ent = t[comps[-1]]
>          if ent.filemode == pygit2.GIT_FILEMODE_BLOB:
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to