changeset 136:74385b613bb7

rename export to export_commits for future consitency We cannot name the reverse 'import' since that is a reserved keyword in python, so add the '_commits' suffix.
author Sverre Rabbelier <sverre@rabbelier.nl>
date Fri, 15 May 2009 00:43:38 +0200
parents 421c992c058b
children 5aefcbf1e50c
files __init__.py git_handler.py
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/__init__.py	Fri May 15 00:27:38 2009 +0200
+++ b/__init__.py	Fri May 15 00:43:38 2009 +0200
@@ -47,7 +47,7 @@
 
 def gexport(ui, repo):
     git = GitHandler(repo, ui)
-    git.export()
+    git.export_commits()
 
 def gremote(ui, repo, *args):
     git = GitHandler(repo, ui)
--- a/git_handler.py	Fri May 15 00:27:38 2009 +0200
+++ b/git_handler.py	Fri May 15 00:43:38 2009 +0200
@@ -121,14 +121,14 @@
             self.import_git_objects(remote_name)
         self.save_map()
 
-    def export(self):
+    def export_commits(self):
         self.export_git_objects()
         self.update_references()
         self.save_map()
 
     def push(self, remote_name):
         self.ui.status(_("pushing to : %s\n") % remote_name)
-        self.export()
+        self.export_commits()
         self.upload_pack(remote_name)
 
     def remote_add(self, remote_name, git_url):