equal
deleted
inserted
replaced
37 #plug them on repo |
37 #plug them on repo |
38 mercurial.localrepo.localrepository.testcachedfoobar = testcachedfoobar |
38 mercurial.localrepo.localrepository.testcachedfoobar = testcachedfoobar |
39 mercurial.localrepo.localrepository.testcachedunfifoobar = testcachedunfifoobar |
39 mercurial.localrepo.localrepository.testcachedunfifoobar = testcachedunfifoobar |
40 |
40 |
41 |
41 |
42 # create an empty repo. and instanciate it. It is important to run |
42 # Create an empty repo and instantiate it. It is important to run |
43 # those test on the real object to detect regression. |
43 # these tests on the real object to detect regression. |
44 repopath = os.path.join(os.environ['TESTTMP'], 'repo') |
44 repopath = os.path.join(os.environ['TESTTMP'], 'repo') |
45 assert subprocess.call(['hg', 'init', repopath]) == 0 |
45 assert subprocess.call(['hg', 'init', repopath]) == 0 |
46 ui = uimod.ui() |
46 ui = uimod.ui() |
47 repo = mercurial.hg.repository(ui, path=repopath).unfiltered() |
47 repo = mercurial.hg.repository(ui, path=repopath).unfiltered() |
48 |
48 |