From 9982f1286e50e0cf983f9479ae6026ea9d25902a Mon Sep 17 00:00:00 2001 From: Antoine Durand-Gasselin Date: Wed, 17 Dec 2008 23:12:29 +0100 Subject: [PATCH] =?UTF-8?q?[darcs=5Fsend=5Fchanges.py]=20Cr=C3=A9e=20ls=20?= =?UTF-8?q?r=C3=A9pertoireslorsque=20ceux-ci=20n'existent=20pas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit darcs-hash:20081217221229-bd074-97d8da6a8b85e7c5877989b5f8cbc9e466547490.gz --- gestion/darcs_send_changes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gestion/darcs_send_changes.py b/gestion/darcs_send_changes.py index 662605fb..61d81a32 100755 --- a/gestion/darcs_send_changes.py +++ b/gestion/darcs_send_changes.py @@ -302,6 +302,8 @@ if __name__ == "__main__": patches = getnew(lastdate) if c == "none": if patches: + if not os.path.exists(CONF_PATH): + os.mkdir(CONF_PATH) open(DATE_FILE, "w").write(patches[-1].split("-", 1)[0]) patches = [] else: