Commits

Steve Losh committed 154deea

README

Comments (0)

Files changed (3)

+hgd
+===
+
+Don't use this yet.
+-------------------
+
+It will probably eat your data and format your hard drive.
+----------------------------------------------------------
+
+`hgd` is an experiment in creating a "daemon mode" for Mercurial, similar to
+Emacs' daemon mode.
+
+The goal is to make daily Mercurial usage snappier and more responsive by
+avoiding the time it takes to start the Python interpreter and load all the
+Mercurial code.
+
+Requirements
+------------
+
+* Mercurial 1.7.2
+* Diesel (`pip install -e git://github.com/jamwt/diesel.git#egg=diesel`)
+
 License
 -------
 
     mercurial.util.set_binary(fp)
 
 
-STDOUT = sys.stdout
 
 def _run(cwd, cmd):
     sys.stdout = out = StringIO()
 
 echo "DAEMON"
 
-for i in {1..100}
+for i in {1..300}
 do
     ./hd status > /dev/null
 done
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.