From e76a3d289b09d867c3cb8066bbd575f75809a719 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sat, 7 Apr 2012 01:01:21 -0500 Subject: [PATCH] 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 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 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 --- t/t5801-remote-hg.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/t/t5801-remote-hg.sh b/t/t5801-remote-hg.sh index 2e68372d59..e0e60e8009 100755 --- a/t/t5801-remote-hg.sh +++ b/t/t5801-remote-hg.sh @@ -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 &&