Mercurial > public > mercurial-scm > hg
comparison mercurial/cmdutil.py @ 30530:74013a831872
style: avoid an unnecessary line split
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Fri, 25 Nov 2016 09:09:03 +0100 |
parents | 20a42325fdef |
children | 841092fd6b85 |
comparison
equal
deleted
inserted
replaced
30529:bd5c4320b5a8 | 30530:74013a831872 |
---|---|
3168 repo.wwrite(f, fc.data(), fc.flags()) | 3168 repo.wwrite(f, fc.data(), fc.flags()) |
3169 | 3169 |
3170 audit_path = pathutil.pathauditor(repo.root) | 3170 audit_path = pathutil.pathauditor(repo.root) |
3171 for f in actions['forget'][0]: | 3171 for f in actions['forget'][0]: |
3172 if interactive: | 3172 if interactive: |
3173 choice = \ | 3173 choice = repo.ui.promptchoice( |
3174 repo.ui.promptchoice( | 3174 _("forget added file %s (yn)?$$ &Yes $$ &No") % f) |
3175 _("forget added file %s (yn)?$$ &Yes $$ &No") | |
3176 % f) | |
3177 if choice == 0: | 3175 if choice == 0: |
3178 repo.dirstate.drop(f) | 3176 repo.dirstate.drop(f) |
3179 else: | 3177 else: |
3180 excluded_files.append(repo.wjoin(f)) | 3178 excluded_files.append(repo.wjoin(f)) |
3181 else: | 3179 else: |