tests/test-status-inprocess.py.out
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Sat, 11 Apr 2015 00:47:09 +0900
changeset 24692 144883a8d0d4
parent 10838 07dbafd3a0e2
permissions -rw-r--r--
util: add removedirs as platform depending function According to fa901423ac23 introducing "windows._removedirs()": 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. "windows._removedirs()" should be used instead of "os.removedirs()" on Windows. This patch adds "removedirs" as platform depending function to replace "os.removedirs()" invocations for portability and safety

% creating repo
% add and commit
C test.py
% change
M test.py