--- a/doc/hgrc.5.txt Tue Feb 21 23:21:15 2006 +0100
+++ b/doc/hgrc.5.txt Tue Feb 21 23:50:53 2006 +0100
@@ -249,7 +249,7 @@
command to use for SSH connections. Default is 'ssh'.
timeout;;
The timeout used when a lock is held (in seconds), a negative value
- means no timeout. Default is 1024.
+ means no timeout. Default is 600.
username;;
The committer of a changeset created when running "commit".
Typically a person's name and email address, e.g. "Fred Widget
--- a/mercurial/localrepo.py Tue Feb 21 23:21:15 2006 +0100
+++ b/mercurial/localrepo.py Tue Feb 21 23:50:53 2006 +0100
@@ -262,9 +262,9 @@
raise inst
self.ui.warn(_("waiting for lock held by %s\n") % inst.args[0])
try:
- # default to 1024 seconds timeout
+ # default to 600 seconds timeout
l = lock.lock(self.join(lockname),
- int(self.ui.config("ui", "timeout") or 1024),
+ int(self.ui.config("ui", "timeout") or 600),
releasefn)
except lock.LockHeld, inst:
raise util.Abort(_("timeout while waiting for "