git: add nop refresh method to gitdirstate
$ hg log -l1 ... Traceback (most recent call last): File "/home/jeffpc/src/oss/hg-gitext-test/../hg-gitext/hg", line 61, in <module> dispatch.run() ... File "/usr/home/jeffpc/src/oss/hg-gitext/mercurial/dispatch.py", line 1253, in _dispatch repo.close() File "/usr/home/jeffpc/src/oss/hg-gitext/mercurial/localrepo.py", line 1607, in close self._writecaches() File "/usr/home/jeffpc/src/oss/hg-gitext/mercurial/localrepo.py", line 1611, in _writecaches self._revbranchcache.write() File "/usr/home/jeffpc/src/oss/hg-gitext/mercurial/branching/rev_cache.py", line 362, in write wlock.release() File "/usr/home/jeffpc/src/oss/hg-gitext/mercurial/lock.py", line 392, in release self.releasefn() File "/usr/home/jeffpc/src/oss/hg-gitext/mercurial/localrepo.py", line 3162, in unlock if self.dirstate.is_changing_any: ^^^^^^^^^^^^^ File "/usr/home/jeffpc/src/oss/hg-gitext/mercurial/localrepo.py", line 225, in __get__ return super(unfilteredpropertycache, self).__get__(unfi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/home/jeffpc/src/oss/hg-gitext/mercurial/util.py", line 1822, in __get__ result = self.func(obj) ^^^^^^^^^^^^^^ File "/usr/home/jeffpc/src/oss/hg-gitext/mercurial/localrepo.py", line 1804, in dirstate self._dirstate.refresh() ^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'gitdirstate' object has no attribute 'refresh'
parent
70b523d7
No related branches found
No related tags found
Pipeline #96699 passed
Stage: build
Stage: checks
Stage: tests
Stage: platform-compat
Stage: py-version-compat
Please register or sign in to comment