comparison hgext/mq.py @ 2770:5f8259e4d292

Clean up qnew help text.
author Brendan Cully <brendan@kublai.com>
date Wed, 02 Aug 2006 14:48:59 -0700
parents 60683ab1ed33
children 519bf0cd28d2
comparison
equal deleted inserted replaced
2769:2ace3bf43089 2770:5f8259e4d292
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