Mercurial > hg-stable
changeset 21956:93b804fced5a stable
test-bundle2: move file mode setting after sys import
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 30 Jul 2014 18:28:37 -0500 |
parents | 6dfb78f18bdb |
children | 2122b82b6987 |
files | tests/test-bundle2.t |
diffstat | 1 files changed, 9 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-bundle2.t Sat Jul 26 09:27:11 2014 +0300 +++ b/tests/test-bundle2.t Wed Jul 30 18:28:37 2014 -0500 @@ -8,6 +8,15 @@ > code. We still need to be able to test it while it grow up. > """ > + > import sys + > from mercurial import cmdutil + > from mercurial import util + > from mercurial import bundle2 + > from mercurial import scmutil + > from mercurial import discovery + > from mercurial import changegroup + > from mercurial import error + > > try: > import msvcrt > msvcrt.setmode(sys.stdin.fileno(), os.O_BINARY) @@ -16,14 +25,6 @@ > except ImportError: > pass > - > import sys - > from mercurial import cmdutil - > from mercurial import util - > from mercurial import bundle2 - > from mercurial import scmutil - > from mercurial import discovery - > from mercurial import changegroup - > from mercurial import error > cmdtable = {} > command = cmdutil.command(cmdtable) >