changeset 6917:b6fffcd97242

merge with crew-stable
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Wed, 20 Aug 2008 11:09:53 +0200
parents 95f35b553ae6 (current diff) 75b8c8b92e92 (diff)
children 7d1713353aaf
files hgext/mq.py
diffstat 2 files changed, 11 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/win32/ReadMe.html	Sat Aug 16 16:32:57 2008 +0200
+++ b/contrib/win32/ReadMe.html	Wed Aug 20 11:09:53 2008 +0200
@@ -93,7 +93,7 @@
 	href="http://www.serpentine.com/blog">Bryan
 	O'Sullivan</a>.</p>
 
-    <p>Mercurial is Copyright 2005-2007 Matt Mackall and others.
+    <p>Mercurial is Copyright 2005-2008 Matt Mackall and others.
 	See the <tt>Contributors.txt</tt> file for a list of contributors.</p>
 
     <p>Mercurial is free software; you can redistribute it and/or
--- a/hgext/mq.py	Sat Aug 16 16:32:57 2008 +0200
+++ b/hgext/mq.py	Wed Aug 20 11:09:53 2008 +0200
@@ -2326,12 +2326,6 @@
 
 seriesopts = [('s', 'summary', None, _('print first line of patch header'))]
 
-headeropts = [
-    ('U', 'currentuser', None, _('add "From: <current user>" to patch')),
-    ('u', 'user', '', _('add "From: <given user>" to patch')),
-    ('D', 'currentdate', None, _('add "Date: <current date>" to patch')),
-    ('d', 'date', '', _('add "Date: <given date>" to patch'))]
-
 cmdtable = {
     "qapplied": (applied, [] + seriesopts, _('hg qapplied [-s] [PATCH]')),
     "qclone":
@@ -2389,7 +2383,11 @@
          [('e', 'edit', None, _('edit commit message')),
           ('f', 'force', None, _('import uncommitted changes into patch')),
           ('g', 'git', None, _('use git extended diff format')),
-          ] + commands.walkopts + commands.commitopts + headeropts,
+          ('U', 'currentuser', None, _('add "From: <current user>" to patch')),
+          ('u', 'user', '', _('add "From: <given user>" to patch')),
+          ('D', 'currentdate', None, _('add "Date: <current date>" to patch')),
+          ('d', 'date', '', _('add "Date: <given date>" to patch'))
+          ] + commands.walkopts + commands.commitopts,
          _('hg qnew [-e] [-m TEXT] [-l FILE] [-f] PATCH [FILE]...')),
     "qnext": (next, [] + seriesopts, _('hg qnext [-s]')),
     "qprev": (prev, [] + seriesopts, _('hg qprev [-s]')),
@@ -2412,7 +2410,11 @@
          [('e', 'edit', None, _('edit commit message')),
           ('g', 'git', None, _('use git extended diff format')),
           ('s', 'short', None, _('refresh only files already in the patch')),
-          ] + commands.walkopts + commands.commitopts + headeropts,
+          ('U', 'currentuser', None, _('add/update "From: <current user>" in patch')),
+          ('u', 'user', '', _('add/update "From: <given user>" in patch')),
+          ('D', 'currentdate', None, _('update "Date: <current date>" in patch (if present)')),
+          ('d', 'date', '', _('update "Date: <given date>" in patch (if present)'))
+          ] + commands.walkopts + commands.commitopts,
          _('hg qrefresh [-I] [-X] [-e] [-m TEXT] [-l FILE] [-s] [FILE]...')),
     'qrename|qmv':
         (rename, [], _('hg qrename PATCH1 [PATCH2]')),