hgext: enable extensions without "hgext." prefix in help texts stable
authorMartin Geisler <mg@lazybytes.net>
Tue, 22 Dec 2009 00:50:03 +0100
branchstable
changeset 10112 703db37d186b
parent 10103 37679dbf2ee3
child 10113 f76984a27b3d
child 10114 3e7663b2f3fc
hgext: enable extensions without "hgext." prefix in help texts
hgext/acl.py
hgext/bugzilla.py
hgext/notify.py
hgext/pager.py
hgext/win32text.py
tests/test-notify.out
--- a/hgext/acl.py	Mon Dec 21 16:12:43 2009 +0100
+++ b/hgext/acl.py	Tue Dec 22 00:50:03 2009 +0100
@@ -25,7 +25,7 @@
 To use this hook, configure the acl extension in your hgrc like this::
 
   [extensions]
-  hgext.acl =
+  acl =
 
   [hooks]
   pretxnchangegroup.acl = python:hgext.acl.hook
--- a/hgext/bugzilla.py	Mon Dec 21 16:12:43 2009 +0100
+++ b/hgext/bugzilla.py	Tue Dec 22 00:50:03 2009 +0100
@@ -103,7 +103,7 @@
 Activating the extension::
 
     [extensions]
-    hgext.bugzilla =
+    bugzilla =
 
     [hooks]
     # run bugzilla hook on every change pulled or pushed in here
--- a/hgext/notify.py	Mon Dec 21 16:12:43 2009 +0100
+++ b/hgext/notify.py	Tue Dec 22 00:50:03 2009 +0100
@@ -14,7 +14,7 @@
 this::
 
   [extensions]
-  hgext.notify =
+  notify =
 
   [hooks]
   # one email for each incoming changeset
--- a/hgext/pager.py	Mon Dec 21 16:12:43 2009 +0100
+++ b/hgext/pager.py	Tue Dec 22 00:50:03 2009 +0100
@@ -8,7 +8,7 @@
 # To load the extension, add it to your .hgrc file:
 #
 #   [extension]
-#   hgext.pager =
+#   pager =
 #
 # Run "hg help pager" to get info on configuration.
 
--- a/hgext/win32text.py	Mon Dec 21 16:12:43 2009 +0100
+++ b/hgext/win32text.py	Tue Dec 22 00:50:03 2009 +0100
@@ -10,7 +10,7 @@
 To perform automatic newline conversion, use::
 
   [extensions]
-  hgext.win32text =
+  win32text =
   [encode]
   ** = cleverencode:
   # or ** = macencode:
--- a/tests/test-notify.out	Mon Dec 21 16:12:43 2009 +0100
+++ b/tests/test-notify.out	Tue Dec 22 00:50:03 2009 +0100
@@ -6,7 +6,7 @@
 To use, configure the notify extension and enable it in hgrc like this:
 
   [extensions]
-  hgext.notify =
+  notify =
 
   [hooks]
   # one email for each incoming changeset