Mercurial > hgsubversion
comparison fetch_command.py @ 182:47d25d61abfa
remove generators (compat with python2.3)
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Tue, 13 Jan 2009 15:39:22 +0100 |
parents | e37f9d3fd5e7 |
children | d3ea6c98a086 |
comparison
equal
deleted
inserted
replaced
181:e37f9d3fd5e7 | 182:47d25d61abfa |
---|---|
125 for p in hg_editor.missing_plaintexts: | 125 for p in hg_editor.missing_plaintexts: |
126 hg_editor.ui.status('.') | 126 hg_editor.ui.status('.') |
127 hg_editor.ui.flush() | 127 hg_editor.ui.flush() |
128 if p[-1] == '/': | 128 if p[-1] == '/': |
129 dirpath = p[len(rootpath):] | 129 dirpath = p[len(rootpath):] |
130 files_to_grab.update((dirpath + f for f,k in | 130 files_to_grab.update([dirpath + f for f,k in |
131 svn.list_files(dirpath, r.revnum) | 131 svn.list_files(dirpath, r.revnum) |
132 if k == 'f')) | 132 if k == 'f']) |
133 else: | 133 else: |
134 files_to_grab.add(p[len(rootpath):]) | 134 files_to_grab.add(p[len(rootpath):]) |
135 hg_editor.ui.status('\nFetching files...\n') | 135 hg_editor.ui.status('\nFetching files...\n') |
136 for p in files_to_grab: | 136 for p in files_to_grab: |
137 hg_editor.ui.status('.') | 137 hg_editor.ui.status('.') |