qsync: add a warning file in qsync changeset.
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 24 Apr 2012 15:57:48 +0200
changeset 216 9400e234b3d7
parent 215 0eceb5a48485
child 217 786eb34d93ea
qsync: add a warning file in qsync changeset.
hgext/qsync.py
--- a/hgext/qsync.py	Wed Apr 25 18:11:52 2012 +0200
+++ b/hgext/qsync.py	Tue Apr 24 15:57:48 2012 +0200
@@ -220,6 +220,7 @@
     store = patch.filestore()
     try:
         files = set()
+        store.setfile('DO-NOT-EDIT-THIS-WORKING-COPY-BY-HAND', 'WE WARNED YOU!', (False, False))
         store.setfile('.hgignore', '^status$\n', (False, False))
         memctx = patch.makememctx(mqrepo, (nullid, nullid),
                               'qsubmit init',