sapling/edenscm/mercurial/commands
Xavier Deguillard b7c4ad771b eden: properly close repo in debugedenimporthelper
Summary:
Closing a repo is required to commit the pending transactions, or to run a
background repack when packfiles were downloaded. Usually, the close method is
called in dispatch after a command is run and a valid repository was passed via
-R. The debugedenimporthelper however may open the repository manually, and
since it doesn't close it, we may end up with a large number of packfiles.

Let's manually close it to avoid this issue.

Reviewed By: simpkins

Differential Revision: D14531514

fbshipit-source-id: 9b2d1648775e4a2c9eea4c232bf0ae4fee43297d
2019-03-25 10:27:48 -07:00
..
__init__.py ignore: disable hgignore by default 2019-03-20 22:32:58 -07:00
debug.py ignore: revise debugignore 2019-03-22 08:18:24 -07:00
debugstatus.py debugstatus: print the clock value stored in treestate 2019-02-20 11:01:52 -08:00
debugstrip.py subrepo: remove subrepo support 2019-03-11 10:43:55 -07:00
eden.py eden: properly close repo in debugedenimporthelper 2019-03-25 10:27:48 -07:00
fs.py fs: add stats subcommands 2019-03-08 06:02:22 -08:00
uncommit.py codemod: move Python packages to edenscm 2019-01-28 18:35:41 -08:00