commands: say "working directory" in full spelling
authorYuya Nishihara <yuya@tcha.org>
Tue, 17 Mar 2015 21:53:17 +0900
changeset 24365 f1eaf03dd608
parent 24364 135b23868f45
child 24366 e8ea31131705
commands: say "working directory" in full spelling
hgext/fetch.py
hgext/mq.py
hgext/transplant.py
mercurial/commands.py
tests/test-fetch.t
tests/test-mq-eol.t
tests/test-mq-missingfiles.t
tests/test-mq-qpush-exact.t
tests/test-mq-qpush-fail.t
tests/test-mq.t
tests/test-qrecord.t
tests/test-record.t
--- a/hgext/fetch.py	Tue Mar 17 22:47:08 2015 +0900
+++ b/hgext/fetch.py	Tue Mar 17 21:53:17 2015 +0900
@@ -56,7 +56,7 @@
     except error.RepoLookupError:
         branchnode = None
     if parent != branchnode:
-        raise util.Abort(_('working dir not at branch tip '
+        raise util.Abort(_('working directory not at branch tip '
                            '(use "hg update" to check out branch tip)'))
 
     wlock = lock = None
--- a/hgext/mq.py	Tue Mar 17 22:47:08 2015 +0900
+++ b/hgext/mq.py	Tue Mar 17 21:53:17 2015 +0900
@@ -930,7 +930,8 @@
                 self.applied.append(statusentry(n, patchname))
 
             if patcherr:
-                self.ui.warn(_("patch failed, rejects left in working dir\n"))
+                self.ui.warn(_("patch failed, rejects left in working "
+                               "directory\n"))
                 err = 2
                 break
 
--- a/hgext/transplant.py	Tue Mar 17 22:47:08 2015 +0900
+++ b/hgext/transplant.py	Tue Mar 17 21:53:17 2015 +0900
@@ -342,9 +342,8 @@
         try:
             p1, p2 = repo.dirstate.parents()
             if p1 != parent:
-                raise util.Abort(
-                    _('working dir not at transplant parent %s') %
-                                 revlog.hex(parent))
+                raise util.Abort(_('working directory not at transplant '
+                                   'parent %s') % revlog.hex(parent))
             if merge:
                 repo.setparents(p1, parents[1])
             modified, added, removed, deleted = repo.status()[:4]
--- a/mercurial/commands.py	Tue Mar 17 22:47:08 2015 +0900
+++ b/mercurial/commands.py	Tue Mar 17 21:53:17 2015 +0900
@@ -1386,7 +1386,7 @@
      _('mark new/missing files as added/removed before committing')),
     ('', 'close-branch', None,
      _('mark a branch as closed, hiding it from the branch list')),
-    ('', 'amend', None, _('amend the parent of the working dir')),
+    ('', 'amend', None, _('amend the parent of the working directory')),
     ('s', 'secret', None, _('use the secret phase for committing')),
     ('e', 'edit', None, _('invoke editor on commit messages')),
     ('i', 'interactive', None, _('use interactive mode')),
--- a/tests/test-fetch.t	Tue Mar 17 22:47:08 2015 +0900
+++ b/tests/test-fetch.t	Tue Mar 17 21:53:17 2015 +0900
@@ -339,7 +339,7 @@
   marked working directory as branch topic
   (branches are permanent and global, did you want a bookmark?)
   $ hg -R n2 fetch -m merge n1
-  abort: working dir not at branch tip (use "hg update" to check out branch tip)
+  abort: working directory not at branch tip (use "hg update" to check out branch tip)
   [255]
 
 parent should be 0 (fetch did not update or merge anything)
--- a/tests/test-mq-eol.t	Tue Mar 17 22:47:08 2015 +0900
+++ b/tests/test-mq-eol.t	Tue Mar 17 21:53:17 2015 +0900
@@ -60,7 +60,7 @@
   Hunk #1 FAILED at 0
   1 out of 1 hunks FAILED -- saving rejects to file a.rej
   patch failed, unable to continue (try -v)
-  patch failed, rejects left in working dir
+  patch failed, rejects left in working directory
   errors during apply, please fix and refresh eol.diff
   [2]
   $ hg qpop
@@ -72,7 +72,7 @@
   $ hg --config patch.eol='LFCR' qpush
   applying eol.diff
   patch failed, unable to continue (try -v)
-  patch failed, rejects left in working dir
+  patch failed, rejects left in working directory
   errors during apply, please fix and refresh eol.diff
   [2]
   $ hg qpop
@@ -169,7 +169,7 @@
   Hunk #1 FAILED at 0
   1 out of 1 hunks FAILED -- saving rejects to file a.rej
   patch failed, unable to continue (try -v)
-  patch failed, rejects left in working dir
+  patch failed, rejects left in working directory
   errors during apply, please fix and refresh patch1
   [2]
   $ hg qpop
@@ -192,7 +192,7 @@
   Hunk #1 FAILED at 0
   1 out of 1 hunks FAILED -- saving rejects to file a.rej
   patch failed, unable to continue (try -v)
-  patch failed, rejects left in working dir
+  patch failed, rejects left in working directory
   errors during apply, please fix and refresh patch1
   [2]
   $ hg qpop
--- a/tests/test-mq-missingfiles.t	Tue Mar 17 22:47:08 2015 +0900
+++ b/tests/test-mq-missingfiles.t	Tue Mar 17 21:53:17 2015 +0900
@@ -44,7 +44,7 @@
   unable to find 'b' for patching
   2 out of 2 hunks FAILED -- saving rejects to file b.rej
   patch failed, unable to continue (try -v)
-  patch failed, rejects left in working dir
+  patch failed, rejects left in working directory
   errors during apply, please fix and refresh changeb
   [2]
 
@@ -97,7 +97,7 @@
   2 out of 2 hunks FAILED -- saving rejects to file bb.rej
   b not tracked!
   patch failed, unable to continue (try -v)
-  patch failed, rejects left in working dir
+  patch failed, rejects left in working directory
   errors during apply, please fix and refresh changebb
   [2]
   $ cat a
@@ -149,7 +149,7 @@
   unable to find 'b' for patching
   1 out of 1 hunks FAILED -- saving rejects to file b.rej
   patch failed, unable to continue (try -v)
-  patch failed, rejects left in working dir
+  patch failed, rejects left in working directory
   errors during apply, please fix and refresh changeb
   [2]
   $ hg st
--- a/tests/test-mq-qpush-exact.t	Tue Mar 17 22:47:08 2015 +0900
+++ b/tests/test-mq-qpush-exact.t	Tue Mar 17 21:53:17 2015 +0900
@@ -203,7 +203,7 @@
   file fp0 already exists
   1 out of 1 hunks FAILED -- saving rejects to file fp0.rej
   patch failed, unable to continue (try -v)
-  patch failed, rejects left in working dir
+  patch failed, rejects left in working directory
   errors during apply, please fix and refresh p0
   [2]
   $ cat fp0
@@ -230,7 +230,7 @@
   file fp1 already exists
   1 out of 1 hunks FAILED -- saving rejects to file fp1.rej
   patch failed, unable to continue (try -v)
-  patch failed, rejects left in working dir
+  patch failed, rejects left in working directory
   errors during apply, please fix and refresh p1
   [2]
   $ cat fp1
--- a/tests/test-mq-qpush-fail.t	Tue Mar 17 22:47:08 2015 +0900
+++ b/tests/test-mq-qpush-fail.t	Tue Mar 17 21:53:17 2015 +0900
@@ -284,7 +284,7 @@
   b
   committing manifest
   committing changelog
-  patch failed, rejects left in working dir
+  patch failed, rejects left in working directory
   errors during apply, please fix and refresh p3
   [2]
   $ cat a.orig
--- a/tests/test-mq.t	Tue Mar 17 22:47:08 2015 +0900
+++ b/tests/test-mq.t	Tue Mar 17 21:53:17 2015 +0900
@@ -870,7 +870,7 @@
   file foo already exists
   1 out of 1 hunks FAILED -- saving rejects to file foo.rej
   patch failed, unable to continue (try -v)
-  patch failed, rejects left in working dir
+  patch failed, rejects left in working directory
   errors during apply, please fix and refresh bar
   [2]
   $ hg st
--- a/tests/test-qrecord.t	Tue Mar 17 22:47:08 2015 +0900
+++ b/tests/test-qrecord.t	Tue Mar 17 21:53:17 2015 +0900
@@ -60,7 +60,7 @@
                             committing
       --close-branch        mark a branch as closed, hiding it from the branch
                             list
-      --amend               amend the parent of the working dir
+      --amend               amend the parent of the working directory
    -s --secret              use the secret phase for committing
    -e --edit                invoke editor on commit messages
    -I --include PATTERN [+] include names matching the given patterns
--- a/tests/test-record.t	Tue Mar 17 22:47:08 2015 +0900
+++ b/tests/test-record.t	Tue Mar 17 21:53:17 2015 +0900
@@ -47,7 +47,7 @@
                             committing
       --close-branch        mark a branch as closed, hiding it from the branch
                             list
-      --amend               amend the parent of the working dir
+      --amend               amend the parent of the working directory
    -s --secret              use the secret phase for committing
    -e --edit                invoke editor on commit messages
    -I --include PATTERN [+] include names matching the given patterns