diff python/hgrc.py @ 568:bb6e21338c5c

hgrc notes
author Jeff Hammel <k0scist@gmail.com>
date Sun, 12 Jan 2014 21:48:06 -0800
parents 2a5eee9418ba
children a5a339b7fd82
line wrap: on
line diff
--- a/python/hgrc.py	Mon Dec 30 23:05:30 2013 -0800
+++ b/python/hgrc.py	Sun Jan 12 21:48:06 2014 -0800
@@ -5,9 +5,16 @@
 
 If no arguments specified, the repository given by `hg root` is used.
 
-[WIP] If http(s):// arguments are given, create hgrc file from such a thing
+If http(s):// arguments are given, create hgrc file from such a thing
 """
 
+## TODO:
+#  - functionality to populate [web]-> description in hgrc file from
+#    setup.py, e.g.
+#    http://stackoverflow.com/questions/1541778/mercurial-how-do-i-populate-repository-descriptions-for-hgwebdir-cgi
+#    Could also loop over a directory; e.g.
+#    `hgrc --setup-web . # loop over all .hg repos in this directory`
+
 # imports
 import optparse
 import os