Mark all remote-hg push tests as broken

For now, remote-hg cannot be used for pushing. The respective tests fail
thusly:

warning: non-alnum alias 'remote:///git/t/trash directory.t5801-remote-hg/empty'
transaction abort!
rollback completed
Traceback (most recent call last):
  File "/git/git-remote-hg", line 101, in <module>
    sys.exit(HgRemoteHelper().main(sys.argv))
  File ".../lib/git_remote_helpers/helper.py", line 197, in main
    more = self.read_one_line(repo)
  File ".../lib/git_remote_helpers/helper.py", line 163, in read_one_line
    func(repo, cmdline)
  File ".../lib/git_remote_helpers/helper.py", line 121, in do_export
    localrepo.importer.do_import(localrepo.gitdir)
  File ".../lib/git_remote_helpers/hg/importer.py", line 27, in do_import
    processor.parseMany(sources, parser.ImportParser, procc)
  File ".../lib/git_remote_helpers/fastimport/processor.py", line 219,
        in parseMany
    processor.process(parser.parse())
  File ".../lib/git_remote_helpers/fastimport/processor.py", line 76,
        in process
    handler(self, cmd)
  File ".../lib/git_remote_helpers/hg/hgimport.py", line 262,
        in commit_handler
    self.idmap[cmd.id] = self.putcommit(modified, modes, copies, cmt)
  File ".../lib/git_remote_helpers/hg/hgimport.py", line 294, in putcommit
    self.repo.commitctx(ctx)
  File "/lib/python/mercurial/localrepo.py", line 1315, in commitctx
    phases.retractboundary(self, targetphase, [n])
  File "/lib/python/mercurial/phases.py", line 201, in retractboundary
    currentroots.intersection_update(ctx.node() for ctx in ctxs)
  File "/lib/python/mercurial/phases.py", line 201, in <genexpr>
    currentroots.intersection_update(ctx.node() for ctx in ctxs)
  File "/lib/python/mercurial/localrepo.py", line 264, in set
    for r in self.revs(expr, *args):
TypeError: 'set' object is not callable

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2012-04-07 01:01:21 -05:00
parent e362dae650
commit e76a3d289b

View File

@@ -73,7 +73,7 @@ test_expect_success 'pulling from remote remote' '
vcs_cmp public clone
'
test_expect_success 'pushing to local empty repo' '
test_expect_failure 'pushing to local empty repo' '
hg init localempty &&
(cd localclone &&
git push --all "hg::file://${ROOT}/localempty") &&
@@ -82,7 +82,7 @@ test_expect_success 'pushing to local empty repo' '
vcs_cmp localclone localempty
'
test_expect_success 'pushing to remote empty repo' '
test_expect_failure 'pushing to remote empty repo' '
hg init empty &&
(cd localclone &&
git push --all "hg::remote://${ROOT}/empty") &&
@@ -91,7 +91,7 @@ test_expect_success 'pushing to remote empty repo' '
vcs_cmp localclone empty
'
test_expect_success 'pushing to local repo' '
test_expect_failure 'pushing to local repo' '
(cd localclone &&
echo content >>file &&
git commit -a -m three &&
@@ -106,7 +106,7 @@ test_expect_success 'synch with changes from localclone' '
git pull)
'
test_expect_success 'pushing remote local repo' '
test_expect_failure 'pushing remote local repo' '
(cd clone &&
echo content >>file &&
git commit -a -m four &&