changeset 666:2659f63f0beb

gclear: use githandler from repo
author Siddharth Agarwal <sid0@fb.com>
date Wed, 19 Feb 2014 15:12:59 -0800
parents 570c3702b916
children 27fefb7e7cec
files hggit/__init__.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hggit/__init__.py
+++ b/hggit/__init__.py
@@ -126,8 +126,7 @@
 
 def gclear(ui, repo):
     repo.ui.status(_("clearing out the git cache data\n"))
-    git = GitHandler(repo, ui)
-    git.clear()
+    repo.githandler.clear()
 
 from mercurial import dirstate
 from mercurial import ignore