Issue216

Title unbundle command does not accept multiple file arguments
Priority wish Status resolved
Superseder Nosy List keramida, phlogistonjohn, smithm, tonfa
Assigned To Topics ui

Created on 2006-04-24.09:05:17 by smithm, last changed 2008-10-18.14:41:55 by phlogistonjohn.

Messages
msg7487 (view) Author: phlogistonjohn Date: 2008-10-18.14:41:55
Previously resolved (0.9.4):

changeset:   4699:a6b62584d0b2
user:        Giorgos Keramidas <keramida@ceid.upatras.gr>
date:        Sun Jun 24 10:08:38 2007 -0500
summary:     unbundle: accept multiple file arguments
msg1213 (view) Author: smithm Date: 2006-05-10.21:22:25
For me it would be enough for unbundle to accept earlier bundles and to stop on
the one which fails.
msg1189 (view) Author: tonfa Date: 2006-05-10.14:04:28
If one unbundle fails, should the whole command fail or not ?
msg1065 (view) Author: smithm Date: 2006-04-24.09:05:10
I emailed two bundles home from my day job and attempted to import them using
the same syntax I used with hg import:

[smithm@server nixedit]$ hg unbundle ~/incoming/nixedit-changeset-20060424*
unbundle: invalid arguments
hg unbundle [-u] FILE/
....

I repeated the unbundle with a single file argument and had no problems. I could
easily write a loop for this, but multiple space separated arguments (as
generated by a shell) are a unix standard so I decided to file an issue.

I have had a bit of a look at import_ and unbundle in commands.py and I can see
where the change should probably be made but my python skills are so bad I don't
know how arguments are delivered to those functions. Somebody else can probably
implement this with less difficulty than me.
History
Date User Action Args
2008-10-18 14:41:55phlogistonjohnsetstatus: chatting -> resolved
nosy: + phlogistonjohn
messages: + msg7487
2007-04-25 14:06:27keramidasetnosy: + keramida
2006-05-10 21:22:38smithmsetmessages: + msg1213
2006-05-10 14:04:29tonfasettopic: + ui
status: unread -> chatting
messages: + msg1189
nosy: + tonfa
2006-04-24 09:05:17smithmcreate