summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhttps://www.google.com/accounts/o8/id?id=AItOawlOWqoYhI23FAYG8M4R3-wb1AvhtXMhKfs <Massimo@web>2015-02-25 13:12:11 +0000
committeradmin <admin@branchable.com>2015-02-25 13:12:11 +0000
commitdde9d3cacc784c7114ba6eb1fba97a0e93b11566 (patch)
tree21cde7b0f957029cea29624f1e30c206a43d28f2 /doc
parentbd7c84d0a4cc1709b1f9682284cdc0ee966a75b6 (diff)
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/Adding_support_for_.hgignore.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/todo/Adding_support_for_.hgignore.mdwn b/doc/todo/Adding_support_for_.hgignore.mdwn
index 054bb8d..cb694c7 100644
--- a/doc/todo/Adding_support_for_.hgignore.mdwn
+++ b/doc/todo/Adding_support_for_.hgignore.mdwn
@@ -163,5 +163,14 @@ I only did the hg source part. Using bash arrays could be better, I tried to sta
# We don't handle xattrs.
"""]]
+I added an init hook for any update, so after cloning to a new location and updating, all permissions are going to be fixed:
+[hooks]
+
+[[!format python """
+# pre-commit hook for etckeeper, to store metadata and do sanity checks
+pre-commit = etckeeper pre-commit -d "$(hg root)"
+post-update = etckeeper init "$(hg root)"
+"""]]
+
Best regards,
Massimo