equal
deleted
inserted
replaced
38 cwd = repo.getcwd() |
38 cwd = repo.getcwd() |
39 if cwd: |
39 if cwd: |
40 return [util.normpath(os.path.join(cwd, x)) for x in args] |
40 return [util.normpath(os.path.join(cwd, x)) for x in args] |
41 return args |
41 return args |
42 |
42 |
43 def logmessage(**opts): |
43 def logmessage(opts): |
44 """ get the log message according to -m and -l option """ |
44 """ get the log message according to -m and -l option """ |
45 message = opts['message'] |
45 message = opts['message'] |
46 logfile = opts['logfile'] |
46 logfile = opts['logfile'] |
47 |
47 |
48 if message and logfile: |
48 if message and logfile: |
1094 will be committed. |
1094 will be committed. |
1095 |
1095 |
1096 If no commit message is specified, the editor configured in your hgrc |
1096 If no commit message is specified, the editor configured in your hgrc |
1097 or in the EDITOR environment variable is started to enter a message. |
1097 or in the EDITOR environment variable is started to enter a message. |
1098 """ |
1098 """ |
1099 message = logmessage(**opts) |
1099 message = logmessage(opts) |
1100 |
1100 |
1101 if opts['addremove']: |
1101 if opts['addremove']: |
1102 addremove_lock(ui, repo, pats, opts) |
1102 addremove_lock(ui, repo, pats, opts) |
1103 fns, match, anypats = matchpats(repo, pats, opts) |
1103 fns, match, anypats = matchpats(repo, pats, opts) |
1104 if pats: |
1104 if pats: |