Show More
@@ -1914,11 +1914,10 b' def prev(ui, repo, **opts):' | |||
|
1914 | 1914 | summary=opts.get('summary')) |
|
1915 | 1915 | |
|
1916 | 1916 | def setupheaderopts(ui, opts): |
|
1917 | def do(opt, val): | |
|
1918 | if not opts[opt] and opts['current' + opt]: | |
|
1919 | opts[opt] = val | |
|
1920 | do('user', ui.username()) | |
|
1921 | do('date', "%d %d" % util.makedate()) | |
|
1917 | if not opts.get('user') and opts.get('currentuser'): | |
|
1918 | opts['user'] = ui.username() | |
|
1919 | if not opts.get('date') and opts.get('currentdate'): | |
|
1920 | opts['date'] = "%d %d" % util.makedate() | |
|
1922 | 1921 | |
|
1923 | 1922 | def new(ui, repo, patch, *args, **opts): |
|
1924 | 1923 | """create a new patch |
General Comments 0
You need to be logged in to leave comments.
Login now