Patchwork D6222: messages: replace some instances of "folder" by "directory"

login
register
mail settings
Submitter phabricator
Date April 12, 2019, 12:38 p.m.
Message ID <6ded64f1ff3c6fdb58d9e5870c1dfd19@localhost.localdomain>
Download mbox | patch
Permalink /patch/39561/
State Not Applicable
Headers show

Comments

phabricator - April 12, 2019, 12:38 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGb63b8b7ca5fa: messages: replace some instances of &quot;folder&quot; by &quot;directory&quot; (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6222?vs=14705&id=14708

REVISION DETAIL
  https://phab.mercurial-scm.org/D6222

AFFECTED FILES
  mercurial/context.py
  mercurial/debugcommands.py
  tests/test-rebase-inmemory.t

CHANGE DETAILS




To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

diff --git a/tests/test-rebase-inmemory.t b/tests/test-rebase-inmemory.t
--- a/tests/test-rebase-inmemory.t
+++ b/tests/test-rebase-inmemory.t
@@ -252,7 +252,7 @@ 
   $ hg rebase -r 3 -d . -n
   starting dry-run rebase; repository will not be changed
   rebasing 3:844a7de3e617 "c"
-  abort: error: file 'c' cannot be written because  'c/' is a folder in e147e6e3c490 (containing 1 entries: c/subdir/file.txt)
+  abort: error: file 'c' cannot be written because  'c/' is a directory in e147e6e3c490 (containing 1 entries: c/subdir/file.txt)
   [255]
 
   $ cd ..
diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -1143,7 +1143,7 @@ 
                     ui.write(_("%s is ignored\n") % uipathfn(f))
                 else:
                     ui.write(_("%s is ignored because of "
-                               "containing folder %s\n")
+                               "containing directory %s\n")
                              % (uipathfn(f), ignored))
                 ignorefile, lineno, line = ignoredata
                 ui.write(_("(ignore rule in %s, line %d: '%s')\n")
diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -1965,7 +1965,7 @@ 
             if not mfiles:
                 return
             raise error.Abort("error: file '%s' cannot be written because "
-                              " '%s/' is a folder in %s (containing %d "
+                              " '%s/' is a directory in %s (containing %d "
                               "entries: %s)"
                               % (path, path, self.p1(), len(mfiles),
                                  ', '.join(mfiles)))