# HG changeset patch # User Sverre Rabbelier # Date 1241917480 25200 # Node ID 0cec7b1e07ff4f5a361763fa5fce448b53934402 # Parent 7de67fcb18b04537cfe2e5d470e09d7ba8fa0fc2 add a few more TODO's diff -r 7de67fcb18b0 -r 0cec7b1e07ff git_handler.py --- a/git_handler.py Sat May 09 18:04:19 2009 -0700 +++ b/git_handler.py Sat May 09 18:04:40 2009 -0700 @@ -327,6 +327,7 @@ self.git.set_remote_refs(new_refs, remote_name) self.update_hg_bookmarks(remote_name) except: + # TODO : remove try/except or do something useful here raise # TODO : for now, we'll just push all heads that match remote heads @@ -377,7 +378,7 @@ changes = list() changes.append((tree, path)) for (mode, name, sha) in tree.entries(): - if mode == 57344: # TODO : properly handle submodules + if mode == 57344: # TODO : properly handle submodules and document what 57344 means continue if sha in seen: continue @@ -467,6 +468,7 @@ ' bookmarks enabled?\n')) def convert_git_int_mode(self, mode): + # TODO : make these into constants convert = { 33188: '', 40960: 'l',