equal
deleted
inserted
replaced
1289 changes unless -f is specified, in which case the patch will |
1289 changes unless -f is specified, in which case the patch will |
1290 be initialised with them. |
1290 be initialised with them. |
1291 |
1291 |
1292 -m or -l set the patch header as well as the commit message. |
1292 -m or -l set the patch header as well as the commit message. |
1293 If neither is specified, the patch header is empty and the |
1293 If neither is specified, the patch header is empty and the |
1294 commit message is 'New patch: PATCH' |
1294 commit message is 'New patch: PATCH'""" |
1295 |
|
1296 If -f is specified, the patch will be initialized with any |
|
1297 uncommitted changes. Otherwise, if there outsta""" |
|
1298 q = repo.mq |
1295 q = repo.mq |
1299 message=commands.logmessage(**opts) |
1296 message=commands.logmessage(**opts) |
1300 q.new(repo, patch, msg=message, force=opts['force']) |
1297 q.new(repo, patch, msg=message, force=opts['force']) |
1301 q.save_dirty() |
1298 q.save_dirty() |
1302 return 0 |
1299 return 0 |