~ubuntu-branches/ubuntu/precise/mercurial/precise-updates

« back to all changes in this revision

Viewing changes to tests/test-archive

  • Committer: Bazaar Package Importer
  • Author(s): Vincent Danjean, Javi Merino, Vincent Danjean
  • Date: 2010-07-04 09:55:28 UTC
  • mfrom: (1.2.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20100704095528-bzag1mhfylss9zth
Tags: 1.6-1
[ Javi Merino ]
* New upstream release (1.6). Many bug fixes and improvements. Among
    them:
  - push: break infinite http recursion bug with Python 2.6.5
       (issue2179 and issue2255) (Closes: #586907)
  - zeroconf: Don't use string exceptions (Closes: #585250)
* Removed patch for_upstream__bashism_in_examples.patch since a fix for
    #581122 is included upstream.
* Updated Standards-Version to 3.9 (no change needed)

[ Vincent Danjean ]
* debian/control:
  + Use Breaks instead of Conflicts
  + Use a fixed version in Replaces
    I put 1.4 but it has been a long time since nothing has been moved
    from mercurial to mercurial-common

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
hg archive -t tgz -p %b-%h test-%h.tar.gz
75
75
gzip -dc test-$QTIP.tar.gz | tar tf - 2>/dev/null | sed "s/$QTIP/TIP/"
76
76
 
 
77
hg archive autodetected_test.tar
 
78
tar tf autodetected_test.tar
 
79
 
 
80
# The '-t' should override autodetection
 
81
hg archive -t tar autodetect_override_test.zip
 
82
tar tf autodetect_override_test.zip
 
83
 
 
84
for ext in tar tar.gz tgz tar.bz2 tbz2 zip; do
 
85
    hg archive auto_test.$ext
 
86
    if [ -d auto_test.$ext ]; then
 
87
        echo "extension $ext was not autodetected."
 
88
    fi
 
89
done
 
90
 
77
91
cat > md5comp.py <<EOF
78
92
try:
79
93
    from hashlib import md5