view tests/test_binaryfiles.py @ 1413:951a87f2f2bd

maps: add the "revhashes" method to RevMap This is a part of the bigger plan to get rid of reading or writing rev_map directly without going through the RevMap class. The "revhashes" method will be used in revset_svnrev.
author Jun Wu <quark@fb.com>
date Fri, 13 May 2016 19:48:13 +0100
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']))