diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-12-14 06:39:31 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-12-14 06:39:31 +0000 |
commit | 16ea5b0ce7190fc368e07e61e7163c76deede4b1 (patch) | |
tree | 0de463197c03cdc232516d17b5aeade5eae30c77 /rdiff-backup/testing | |
parent | 536a293b67ad8c1466cf4cd3c63fbf84406cf552 (diff) | |
download | rdiff-backup-16ea5b0ce7190fc368e07e61e7163c76deede4b1.tar.gz |
Write mirror metadata when incrementing
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@247 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing')
-rwxr-xr-x | rdiff-backup/testing/chdir-wrapper | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rdiff-backup/testing/chdir-wrapper b/rdiff-backup/testing/chdir-wrapper index 1d0db7d..ff0155f 100755 --- a/rdiff-backup/testing/chdir-wrapper +++ b/rdiff-backup/testing/chdir-wrapper @@ -9,8 +9,10 @@ the server. Otherwise will start the server without a chdir. import os, sys +olddir = os.getcwd() if len(sys.argv) > 1: os.chdir(sys.argv[1]) #PipeConnection(sys.stdin, sys.stdout).Server() #os.system("/home/ben/prog/python/rdiff-backup/rdiff-backup --server") -os.system("/home/ben/prog/python/rdiff-backup/testing/server.py /home/ben/prog/python/rdiff-backup/src") +#os.system("/home/ben/prog/rdiff-backup/server.py /home/ben/prog/python/rdiff-backup/src") +os.system("%s/server.py" % (olddir,)) |