tests/test-paths.t
author Sol Jerome <sol.jerome@gmail.com>
Tue, 17 Aug 2010 17:38:19 -0500
changeset 11946 851161f07068
parent 11785 7d9be960cd9a
child 12316 4134686b83e1
permissions -rw-r--r--
util: avoid using hashlib on Python < 2.5 (issue2278) The following patch allows the use of python2.4 with a standalone hashlib rather than assuming that python2.5 is in use when hashlib is imported successfully.

  $ hg init a
  $ hg clone a b
  updating to branch default
  0 files updated, 0 files merged, 0 files removed, 0 files unresolved
  $ cd a
  $ echo '[paths]' >> .hg/hgrc
  $ echo 'dupe = ../b' >> .hg/hgrc
  $ hg in dupe
  comparing with .*/test-paths.t/b
  no changes found
  $ cd ..
  $ hg -R a in dupe
  comparing with .*/test-paths.t/b
  no changes found
  $ true