mercurial/commands.py
changeset 1812 a81f99dfaa2a
parent 1811 6cb548cffdf5
child 1816 08f4398bdb1a
child 1822 64df4220b349
equal deleted inserted replaced
1811:6cb548cffdf5 1812:a81f99dfaa2a
  1856         revs = [repo.lookup(rev) for rev in opts['rev']]
  1856         revs = [repo.lookup(rev) for rev in opts['rev']]
  1857     r = repo.push(other, opts['force'], revs=revs)
  1857     r = repo.push(other, opts['force'], revs=revs)
  1858     return r
  1858     return r
  1859 
  1859 
  1860 def rawcommit(ui, repo, *flist, **rc):
  1860 def rawcommit(ui, repo, *flist, **rc):
  1861     """raw commit interface
  1861     """raw commit interface (DEPRECATED)
  1862 
  1862 
  1863     (DEPRECATED)
  1863     (DEPRECATED)
  1864     Lowlevel commit, for use in helper scripts.
  1864     Lowlevel commit, for use in helper scripts.
  1865 
  1865 
  1866     This command is not intended to be used by normal users, as it is
  1866     This command is not intended to be used by normal users, as it is
  2377           ('d', 'date', None, _('list the date')),
  2377           ('d', 'date', None, _('list the date')),
  2378           ('n', 'number', None, _('list the revision number (default)')),
  2378           ('n', 'number', None, _('list the revision number (default)')),
  2379           ('c', 'changeset', None, _('list the changeset')),
  2379           ('c', 'changeset', None, _('list the changeset')),
  2380           ('I', 'include', [], _('include names matching the given patterns')),
  2380           ('I', 'include', [], _('include names matching the given patterns')),
  2381           ('X', 'exclude', [], _('exclude names matching the given patterns'))],
  2381           ('X', 'exclude', [], _('exclude names matching the given patterns'))],
  2382          _('hg annotate [-r <rev> -u -n -c -d] [files ...]')),
  2382          _('hg annotate [-r REV] [-a] [-u] [-n] [-c] [-d] [FILES...]')),
  2383     "bundle":
  2383     "bundle":
  2384         (bundle,
  2384         (bundle,
  2385          [],
  2385          [],
  2386          _('hg bundle FILE DEST')),
  2386          _('hg bundle FILE DEST')),
  2387     "cat":
  2387     "cat":
  2452     "^export":
  2452     "^export":
  2453         (export,
  2453         (export,
  2454          [('o', 'output', '', _('print output to file with formatted name')),
  2454          [('o', 'output', '', _('print output to file with formatted name')),
  2455           ('a', 'text', None, _('treat all files as text')),
  2455           ('a', 'text', None, _('treat all files as text')),
  2456           ('', 'switch-parent', None, _('diff against the second parent'))],
  2456           ('', 'switch-parent', None, _('diff against the second parent'))],
  2457          _('hg export [-a] [-o filespec] REV...')),
  2457          _('hg export [-a] [-o OUTFILESPEC] REV...')),
  2458     "forget":
  2458     "forget":
  2459         (forget,
  2459         (forget,
  2460          [('I', 'include', [], _('include names matching the given patterns')),
  2460          [('I', 'include', [], _('include names matching the given patterns')),
  2461           ('X', 'exclude', [], _('exclude names matching the given patterns'))],
  2461           ('X', 'exclude', [], _('exclude names matching the given patterns'))],
  2462          _('hg forget [OPTION]... FILE...')),
  2462          _('hg forget [OPTION]... FILE...')),
  2609          [('l', 'local', None, _('make the tag local')),
  2609          [('l', 'local', None, _('make the tag local')),
  2610           ('m', 'message', '', _('message for tag commit log entry')),
  2610           ('m', 'message', '', _('message for tag commit log entry')),
  2611           ('d', 'date', '', _('record datecode as commit date')),
  2611           ('d', 'date', '', _('record datecode as commit date')),
  2612           ('u', 'user', '', _('record user as commiter')),
  2612           ('u', 'user', '', _('record user as commiter')),
  2613           ('r', 'rev', '', _('revision to tag'))],
  2613           ('r', 'rev', '', _('revision to tag'))],
  2614          _('hg tag [-l -m <text> -d <datecode> -u <user> -r <rev>] <name>')),
  2614          _('hg tag [-l] [-m TEXT] [-d DATE] [-u USER] [-r REV] NAME')),
  2615     "tags": (tags, [], _('hg tags')),
  2615     "tags": (tags, [], _('hg tags')),
  2616     "tip":
  2616     "tip":
  2617         (tip,
  2617         (tip,
  2618          [('b', 'branches', None, _('show branches')),
  2618          [('b', 'branches', None, _('show branches')),
  2619           ('p', 'patch', None, _('show patch'))],
  2619           ('p', 'patch', None, _('show patch'))],