view tests/test_binaryfiles.py @ 1460:e31c288e5059

svnwrap: allow overwriting directories in one revision If replacing a directory at one path with a copy from somewhere else, we need to first delete the old, and then create the new. Otherwise, Subversion will bail with an error. This could happen when moving a tag; in that case, we need to delete the original tag and set the new one in the same revision.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Fri, 09 Aug 2013 16:31:22 +0200
parents da2c835cd6b8
children
line wrap: on
line source

import test_util

import unittest

class TestFetchBinaryFiles(test_util.TestBase):
    stupid_mode_tests = True

    def test_binaryfiles(self):
        repo = self._load_fixture_and_fetch('binaryfiles.svndump')
        self.assertEqual('cce7fe400d8d', str(repo['tip']))