mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-23 14:41:43 +00:00
fix phrasings in "in place" refactoring
This commit is contained in:
parent
8c48015e70
commit
319fcbacc5
2 changed files with 4 additions and 4 deletions
|
@ -925,7 +925,7 @@ def build_parser(self, args=None, prog=None):
|
||||||
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 @@ def build_parser(self, args=None, prog=None):
|
||||||
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),
|
||||||
|
|
|
@ -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
|
change (ie. we write to the file directly, so we do not rewrite the
|
||||||
not re-create the file).
|
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."""
|
||||||
|
|
Loading…
Reference in a new issue