diff options
author | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-09-05 08:12:38 +0000 |
---|---|---|
committer | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-09-05 08:12:38 +0000 |
commit | 9af9bc2c12198d3250438118fd70ba6fe8d497ac (patch) | |
tree | 12aa023b7ef738bb26d4fbc0ba9c6de6f75f2c05 /rdiff-backup/rdiff_backup/Main.py | |
parent | 03dd1fbe5a1ac8e17d8a28c93fac7cfcc156fb9d (diff) | |
download | rdiff-backup-9af9bc2c12198d3250438118fd70ba6fe8d497ac.tar.gz |
Various changes, including stopped checking directory sizes when
comparing RORPaths.
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@190 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/Main.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/Main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rdiff-backup/rdiff_backup/Main.py b/rdiff-backup/rdiff_backup/Main.py index 76c652a..60435be 100644 --- a/rdiff-backup/rdiff_backup/Main.py +++ b/rdiff-backup/rdiff_backup/Main.py @@ -159,7 +159,7 @@ def set_action(): else: action = "backup" else: commandline_error("Too many arguments given") - if l == 0 and action != "server" and action != "test-server": + if l == 0 and action != "server": commandline_error("No arguments given") if l > 0 and action == "server": commandline_error("Too many arguments given") @@ -295,7 +295,7 @@ def backup_init_dirs(rpin, rpout): elif not datadir.lstat() and not force: Log.FatalError( """Destination directory %s exists, but does not look like a rdiff-backup directory. Running rdiff-backup like this could mess up -what is currently in it. If you want to overwrite it, run +what is currently in it. If you want to update or overwrite it, run rdiff-backup with the --force option.""" % rpout.path) if not rpout.lstat(): |