##// END OF EJS Templates
commands: say "working directory" in full spelling
Yuya Nishihara -
r24365:f1eaf03d default
parent child Browse files
Show More
@@ -56,7 +56,7 b" def fetch(ui, repo, source='default', **"
56 except error.RepoLookupError:
56 except error.RepoLookupError:
57 branchnode = None
57 branchnode = None
58 if parent != branchnode:
58 if parent != branchnode:
59 raise util.Abort(_('working dir not at branch tip '
59 raise util.Abort(_('working directory not at branch tip '
60 '(use "hg update" to check out branch tip)'))
60 '(use "hg update" to check out branch tip)'))
61
61
62 wlock = lock = None
62 wlock = lock = None
@@ -930,7 +930,8 b' class queue(object):'
930 self.applied.append(statusentry(n, patchname))
930 self.applied.append(statusentry(n, patchname))
931
931
932 if patcherr:
932 if patcherr:
933 self.ui.warn(_("patch failed, rejects left in working dir\n"))
933 self.ui.warn(_("patch failed, rejects left in working "
934 "directory\n"))
934 err = 2
935 err = 2
935 break
936 break
936
937
@@ -342,9 +342,8 b' class transplanter(object):'
342 try:
342 try:
343 p1, p2 = repo.dirstate.parents()
343 p1, p2 = repo.dirstate.parents()
344 if p1 != parent:
344 if p1 != parent:
345 raise util.Abort(
345 raise util.Abort(_('working directory not at transplant '
346 _('working dir not at transplant parent %s') %
346 'parent %s') % revlog.hex(parent))
347 revlog.hex(parent))
348 if merge:
347 if merge:
349 repo.setparents(p1, parents[1])
348 repo.setparents(p1, parents[1])
350 modified, added, removed, deleted = repo.status()[:4]
349 modified, added, removed, deleted = repo.status()[:4]
@@ -1386,7 +1386,7 b' def clone(ui, source, dest=None, **opts)'
1386 _('mark new/missing files as added/removed before committing')),
1386 _('mark new/missing files as added/removed before committing')),
1387 ('', 'close-branch', None,
1387 ('', 'close-branch', None,
1388 _('mark a branch as closed, hiding it from the branch list')),
1388 _('mark a branch as closed, hiding it from the branch list')),
1389 ('', 'amend', None, _('amend the parent of the working dir')),
1389 ('', 'amend', None, _('amend the parent of the working directory')),
1390 ('s', 'secret', None, _('use the secret phase for committing')),
1390 ('s', 'secret', None, _('use the secret phase for committing')),
1391 ('e', 'edit', None, _('invoke editor on commit messages')),
1391 ('e', 'edit', None, _('invoke editor on commit messages')),
1392 ('i', 'interactive', None, _('use interactive mode')),
1392 ('i', 'interactive', None, _('use interactive mode')),
@@ -339,7 +339,7 b' pull in change on different branch than '
339 marked working directory as branch topic
339 marked working directory as branch topic
340 (branches are permanent and global, did you want a bookmark?)
340 (branches are permanent and global, did you want a bookmark?)
341 $ hg -R n2 fetch -m merge n1
341 $ hg -R n2 fetch -m merge n1
342 abort: working dir not at branch tip (use "hg update" to check out branch tip)
342 abort: working directory not at branch tip (use "hg update" to check out branch tip)
343 [255]
343 [255]
344
344
345 parent should be 0 (fetch did not update or merge anything)
345 parent should be 0 (fetch did not update or merge anything)
@@ -60,7 +60,7 b' should fail in strict mode'
60 Hunk #1 FAILED at 0
60 Hunk #1 FAILED at 0
61 1 out of 1 hunks FAILED -- saving rejects to file a.rej
61 1 out of 1 hunks FAILED -- saving rejects to file a.rej
62 patch failed, unable to continue (try -v)
62 patch failed, unable to continue (try -v)
63 patch failed, rejects left in working dir
63 patch failed, rejects left in working directory
64 errors during apply, please fix and refresh eol.diff
64 errors during apply, please fix and refresh eol.diff
65 [2]
65 [2]
66 $ hg qpop
66 $ hg qpop
@@ -72,7 +72,7 b' invalid eol'
72 $ hg --config patch.eol='LFCR' qpush
72 $ hg --config patch.eol='LFCR' qpush
73 applying eol.diff
73 applying eol.diff
74 patch failed, unable to continue (try -v)
74 patch failed, unable to continue (try -v)
75 patch failed, rejects left in working dir
75 patch failed, rejects left in working directory
76 errors during apply, please fix and refresh eol.diff
76 errors during apply, please fix and refresh eol.diff
77 [2]
77 [2]
78 $ hg qpop
78 $ hg qpop
@@ -169,7 +169,7 b' Test .rej file EOL are left unchanged'
169 Hunk #1 FAILED at 0
169 Hunk #1 FAILED at 0
170 1 out of 1 hunks FAILED -- saving rejects to file a.rej
170 1 out of 1 hunks FAILED -- saving rejects to file a.rej
171 patch failed, unable to continue (try -v)
171 patch failed, unable to continue (try -v)
172 patch failed, rejects left in working dir
172 patch failed, rejects left in working directory
173 errors during apply, please fix and refresh patch1
173 errors during apply, please fix and refresh patch1
174 [2]
174 [2]
175 $ hg qpop
175 $ hg qpop
@@ -192,7 +192,7 b' Test .rej file EOL are left unchanged'
192 Hunk #1 FAILED at 0
192 Hunk #1 FAILED at 0
193 1 out of 1 hunks FAILED -- saving rejects to file a.rej
193 1 out of 1 hunks FAILED -- saving rejects to file a.rej
194 patch failed, unable to continue (try -v)
194 patch failed, unable to continue (try -v)
195 patch failed, rejects left in working dir
195 patch failed, rejects left in working directory
196 errors during apply, please fix and refresh patch1
196 errors during apply, please fix and refresh patch1
197 [2]
197 [2]
198 $ hg qpop
198 $ hg qpop
@@ -44,7 +44,7 b' Push patch with missing target:'
44 unable to find 'b' for patching
44 unable to find 'b' for patching
45 2 out of 2 hunks FAILED -- saving rejects to file b.rej
45 2 out of 2 hunks FAILED -- saving rejects to file b.rej
46 patch failed, unable to continue (try -v)
46 patch failed, unable to continue (try -v)
47 patch failed, rejects left in working dir
47 patch failed, rejects left in working directory
48 errors during apply, please fix and refresh changeb
48 errors during apply, please fix and refresh changeb
49 [2]
49 [2]
50
50
@@ -97,7 +97,7 b' Test missing renamed file'
97 2 out of 2 hunks FAILED -- saving rejects to file bb.rej
97 2 out of 2 hunks FAILED -- saving rejects to file bb.rej
98 b not tracked!
98 b not tracked!
99 patch failed, unable to continue (try -v)
99 patch failed, unable to continue (try -v)
100 patch failed, rejects left in working dir
100 patch failed, rejects left in working directory
101 errors during apply, please fix and refresh changebb
101 errors during apply, please fix and refresh changebb
102 [2]
102 [2]
103 $ cat a
103 $ cat a
@@ -149,7 +149,7 b' Push git patch with missing target:'
149 unable to find 'b' for patching
149 unable to find 'b' for patching
150 1 out of 1 hunks FAILED -- saving rejects to file b.rej
150 1 out of 1 hunks FAILED -- saving rejects to file b.rej
151 patch failed, unable to continue (try -v)
151 patch failed, unable to continue (try -v)
152 patch failed, rejects left in working dir
152 patch failed, rejects left in working directory
153 errors during apply, please fix and refresh changeb
153 errors during apply, please fix and refresh changeb
154 [2]
154 [2]
155 $ hg st
155 $ hg st
@@ -203,7 +203,7 b' qpush --exact --force with changes to a '
203 file fp0 already exists
203 file fp0 already exists
204 1 out of 1 hunks FAILED -- saving rejects to file fp0.rej
204 1 out of 1 hunks FAILED -- saving rejects to file fp0.rej
205 patch failed, unable to continue (try -v)
205 patch failed, unable to continue (try -v)
206 patch failed, rejects left in working dir
206 patch failed, rejects left in working directory
207 errors during apply, please fix and refresh p0
207 errors during apply, please fix and refresh p0
208 [2]
208 [2]
209 $ cat fp0
209 $ cat fp0
@@ -230,7 +230,7 b' qpush --exact --force with changes to a '
230 file fp1 already exists
230 file fp1 already exists
231 1 out of 1 hunks FAILED -- saving rejects to file fp1.rej
231 1 out of 1 hunks FAILED -- saving rejects to file fp1.rej
232 patch failed, unable to continue (try -v)
232 patch failed, unable to continue (try -v)
233 patch failed, rejects left in working dir
233 patch failed, rejects left in working directory
234 errors during apply, please fix and refresh p1
234 errors during apply, please fix and refresh p1
235 [2]
235 [2]
236 $ cat fp1
236 $ cat fp1
@@ -284,7 +284,7 b' test qpush --force and backup files'
284 b
284 b
285 committing manifest
285 committing manifest
286 committing changelog
286 committing changelog
287 patch failed, rejects left in working dir
287 patch failed, rejects left in working directory
288 errors during apply, please fix and refresh p3
288 errors during apply, please fix and refresh p3
289 [2]
289 [2]
290 $ cat a.orig
290 $ cat a.orig
@@ -870,7 +870,7 b' qpush failure'
870 file foo already exists
870 file foo already exists
871 1 out of 1 hunks FAILED -- saving rejects to file foo.rej
871 1 out of 1 hunks FAILED -- saving rejects to file foo.rej
872 patch failed, unable to continue (try -v)
872 patch failed, unable to continue (try -v)
873 patch failed, rejects left in working dir
873 patch failed, rejects left in working directory
874 errors during apply, please fix and refresh bar
874 errors during apply, please fix and refresh bar
875 [2]
875 [2]
876 $ hg st
876 $ hg st
@@ -60,7 +60,7 b' help record (record)'
60 committing
60 committing
61 --close-branch mark a branch as closed, hiding it from the branch
61 --close-branch mark a branch as closed, hiding it from the branch
62 list
62 list
63 --amend amend the parent of the working dir
63 --amend amend the parent of the working directory
64 -s --secret use the secret phase for committing
64 -s --secret use the secret phase for committing
65 -e --edit invoke editor on commit messages
65 -e --edit invoke editor on commit messages
66 -I --include PATTERN [+] include names matching the given patterns
66 -I --include PATTERN [+] include names matching the given patterns
@@ -47,7 +47,7 b' Record help'
47 committing
47 committing
48 --close-branch mark a branch as closed, hiding it from the branch
48 --close-branch mark a branch as closed, hiding it from the branch
49 list
49 list
50 --amend amend the parent of the working dir
50 --amend amend the parent of the working directory
51 -s --secret use the secret phase for committing
51 -s --secret use the secret phase for committing
52 -e --edit invoke editor on commit messages
52 -e --edit invoke editor on commit messages
53 -I --include PATTERN [+] include names matching the given patterns
53 -I --include PATTERN [+] include names matching the given patterns
General Comments 0
You need to be logged in to leave comments. Login now