##// END OF EJS Templates
bundle1: display server abort hint during unbundle...
Pierre-Yves David -
r30910:accaa04f stable
parent child Browse files
Show More
@@ -981,6 +981,8 b' def unbundle(repo, proto, heads):'
981 # This need to be moved to something proper.
981 # This need to be moved to something proper.
982 # Feel free to do it.
982 # Feel free to do it.
983 util.stderr.write("abort: %s\n" % exc)
983 util.stderr.write("abort: %s\n" % exc)
984 if exc.hint is not None:
985 util.stderr.write("(%s)\n" % exc.hint)
984 return pushres(0)
986 return pushres(0)
985 except error.PushRaced:
987 except error.PushRaced:
986 return pusherr(str(exc))
988 return pusherr(str(exc))
@@ -1113,6 +1113,7 b' Verify bundle1 pushes can be disabled'
1113 pushing to ssh://user@dummy/bundle2onlyserver
1113 pushing to ssh://user@dummy/bundle2onlyserver
1114 searching for changes
1114 searching for changes
1115 remote: abort: incompatible Mercurial client; bundle2 required
1115 remote: abort: incompatible Mercurial client; bundle2 required
1116 remote: (see https://www.mercurial-scm.org/wiki/IncompatibleClient)
1116 [1]
1117 [1]
1117
1118
1118 $ hg push
1119 $ hg push
General Comments 0
You need to be logged in to leave comments. Login now