[svn r38176] make delete a per-host option (internally it is anyway)

--HG--
branch : trunk
This commit is contained in:
hpk
2007-02-08 17:04:58 +01:00
parent c18ab8fd7e
commit 7fccd77b8a
3 changed files with 14 additions and 17 deletions

View File

@@ -50,12 +50,12 @@ class TestRSync(DirSetup):
rsync.send()
assert dest.join('subdir', 'file1').check(file=1)
assert dest2.join('subdir', 'file1').check(file=1)
rsync = RSync(source, delete=True)
rsync = RSync(source)
rsync.add_target(gw, dest, delete=True)
rsync.add_target(gw2, dest2)
rsync.add_target(gw, dest)
rsync.send()
assert not dest.join('subdir', 'file1').check()
assert not dest2.join('subdir', 'file1').check()
assert dest2.join('subdir', 'file1').check()
def test_dirsync_twice(self):
source = self.source