Skip to content
Snippets Groups Projects
Commit 74385b613bb7 authored by Sverre Rabbelier's avatar Sverre Rabbelier
Browse files

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.
parent 421c992c058b
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
......@@ -121,10 +121,10 @@
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)
......@@ -125,10 +125,10 @@
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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment