view tests/test_binaryfiles.py @ 1459:b95fa72c74ae

svnwrap: allow committing directory copies We've never needed to record a directory copy, since Mercurial doesn't track directories, and thus can't represent copying them. However, in order to push a tag, we need to store the source as the copy source.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Fri, 09 Aug 2013 16:01:12 +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']))