2
0
Эх сурвалжийг харах

fix phrasings in "in place" refactoring

Antoine Beaupré 9 жил өмнө
parent
commit
319fcbacc5

+ 2 - 2
borg/archiver.py

@@ -925,7 +925,7 @@ Type "Yes I am sure" if you understand this and want to continue.\n""")
         backup copy.
         backup copy.
 
 
         WARNING: running the upgrade in place will make the current
         WARNING: running the upgrade in place will make the current
-        copy unuseable with older version, with no way of going back
+        copy unusable with older version, with no way of going back
         to previous versions. this can PERMANENTLY DAMAGE YOUR
         to previous versions. this can PERMANENTLY DAMAGE YOUR
         REPOSITORY!  Attic CAN NOT READ BORG REPOSITORIES, as the
         REPOSITORY!  Attic CAN NOT READ BORG REPOSITORIES, as the
         magic strings have changed. you have been warned.""")
         magic strings have changed. you have been warned.""")
@@ -939,7 +939,7 @@ Type "Yes I am sure" if you understand this and want to continue.\n""")
                                help='do not change repository')
                                help='do not change repository')
         subparser.add_argument('-i', '--inplace', dest='inplace',
         subparser.add_argument('-i', '--inplace', dest='inplace',
                                default=False, action='store_true',
                                default=False, action='store_true',
-                               help="""rewrite repository in-place, with no chance of going back to older
+                               help="""rewrite repository in place, with no chance of going back to older
                                versions of the repository.""")
                                versions of the repository.""")
         subparser.add_argument('repository', metavar='REPOSITORY', nargs='?', default='',
         subparser.add_argument('repository', metavar='REPOSITORY', nargs='?', default='',
                                type=location_validator(archive=False),
                                type=location_validator(archive=False),

+ 2 - 2
borg/testsuite/upgrader.py

@@ -185,8 +185,8 @@ def test_hardlink(tmpdir, inplace):
     """test that we handle hard links properly
     """test that we handle hard links properly
 
 
     that is, if we are in "inplace" mode, hardlinks should *not*
     that is, if we are in "inplace" mode, hardlinks should *not*
-    change (ie. we write the file directly, so not the whole file, and
-    not re-create the file).
+    change (ie. we write to the file directly, so we do not rewrite the
+    whole file, and we do not re-create the file).
 
 
     if we are *not* in inplace mode, then the inode should change, as
     if we are *not* in inplace mode, then the inode should change, as
     we are supposed to leave the original inode alone."""
     we are supposed to leave the original inode alone."""