equal
deleted
inserted
replaced
67 404 Unsupported archive type: None |
67 404 Unsupported archive type: None |
68 |
68 |
69 $ TIP=`hg id -v | cut -f1 -d' '` |
69 $ TIP=`hg id -v | cut -f1 -d' '` |
70 $ QTIP=`hg id -q` |
70 $ QTIP=`hg id -q` |
71 $ cat > getarchive.py <<EOF |
71 $ cat > getarchive.py <<EOF |
72 > import os, sys, urllib2 |
72 > from __future__ import absolute_import |
|
73 > import os |
|
74 > import sys |
|
75 > import urllib2 |
73 > try: |
76 > try: |
74 > # Set stdout to binary mode for win32 platforms |
77 > # Set stdout to binary mode for win32 platforms |
75 > import msvcrt |
78 > import msvcrt |
76 > msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY) |
79 > msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY) |
77 > except ImportError: |
80 > except ImportError: |