Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
pulkit |
hg-reviewers |
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | hgext/git/__init__.py (3 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
7c00bb5a3d95 | 564265c816d5 | Pulkit Goyal | Aug 19 2019, 6:39 AM |
def changelog(self, trypending): | def changelog(self, trypending): | ||||
# TODO we don't have a plan for trypending in hg's git support yet | # TODO we don't have a plan for trypending in hg's git support yet | ||||
return gitlog.changelog(self.git, self._db) | return gitlog.changelog(self.git, self._db) | ||||
def manifestlog(self, repo, storenarrowmatch): | def manifestlog(self, repo, storenarrowmatch): | ||||
# TODO handle storenarrowmatch and figure out if we need the repo arg | # TODO handle storenarrowmatch and figure out if we need the repo arg | ||||
return gitlog.manifestlog(self.git, self._db) | return gitlog.manifestlog(self.git, self._db) | ||||
def invalidatecaches(self): | |||||
pass | |||||
def _makestore(orig, requirements, storebasepath, vfstype): | def _makestore(orig, requirements, storebasepath, vfstype): | ||||
if (os.path.exists(os.path.join(storebasepath, 'this-is-git')) | if (os.path.exists(os.path.join(storebasepath, 'this-is-git')) | ||||
and os.path.exists(os.path.join(storebasepath, '..', '.git'))): | and os.path.exists(os.path.join(storebasepath, '..', '.git'))): | ||||
return gitstore(storebasepath, vfstype) | return gitstore(storebasepath, vfstype) | ||||
return orig(requirements, storebasepath, vfstype) | return orig(requirements, storebasepath, vfstype) | ||||
class gitfilestorage(object): | class gitfilestorage(object): | ||||
def file(self, path): | def file(self, path): |