view tests/test-hg-parseurl.py.out @ 8364:fa901423ac23

windows: avoid deleting non-empty reparse points If a hg repository including working directory is a reparse point (directory symlinked or a junction point), then using os.removedirs will remove the reparse point erroneously. This is fixed by only removing directories if they are empty.
author Henrik Stuart <henrik.stuart@edlund.dk>
date Tue, 12 May 2009 15:50:44 +0200
parents 29bc5d18714a
children d757bc0c7865
line wrap: on
line source

http://example.com/no/anchor, revs: None, checkout: None
http://example.com/an/anchor, revs: ['foo'], checkout: 'foo'
http://example.com/no/anchor/revs, revs: ['foo'], checkout: 'foo'
http://example.com/an/anchor/revs, revs: ['foo', 'bar'], checkout: 'foo'
http://example.com/an/anchor/rev-None, revs: ['foo'], checkout: 'foo'