~ubuntu-branches/ubuntu/lucid/mercurial/lucid

« back to all changes in this revision

Viewing changes to debian/patches/proposed_upstream__extension_syntax.patch

  • Committer: Bazaar Package Importer
  • Author(s): Vernon Tang
  • Date: 2009-01-18 10:39:58 UTC
  • mfrom: (8.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090118103958-4ep2fqb5nl2pyc7y
Tags: 1.1.2-2
* debian/mercurial.postinst: symlink /usr/share/doc/mercurial if dpkg didn't
  do it when upgrading (closes: #512155)
* debian/control: mercurial-common replaces all earlier versions of
  mercurial

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Fix bug #447088
2
 
Index: mercurial-0.9.5/mercurial/extensions.py
3
 
===================================================================
4
 
--- mercurial-0.9.5.orig/mercurial/extensions.py        2007-11-02 11:49:43.000000000 +0100
5
 
+++ mercurial-0.9.5/mercurial/extensions.py     2007-11-02 11:58:15.000000000 +0100
6
 
@@ -29,6 +29,8 @@
7
 
         raise KeyError(name)
8
 
 
9
 
 def load(ui, name, path):
10
 
+    if name.startswith('hgext/'):
11
 
+        name = 'hgext.' + name[6:]
12
 
     if name.startswith('hgext.'):
13
 
         shortname = name[6:]
14
 
     else: