Mercurial > hg-git
changeset 96:0cec7b1e07ff
add a few more TODO's
author | Sverre Rabbelier <sverre@rabbelier.nl> |
---|---|
date | Sat, 09 May 2009 18:04:40 -0700 |
parents | 7de67fcb18b0 |
children | f0628f5270b6 |
files | git_handler.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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',