[Python-apps-commits] r966 - in packages/mercurial/trunk/debian (3 files)

vdanjean at users.alioth.debian.org vdanjean at users.alioth.debian.org
Tue Apr 15 08:38:50 UTC 2008


    Date: Tuesday, April 15, 2008 @ 08:38:48
  Author: vdanjean
Revision: 966

fix the auto-enabling of extensions in postinst
the regexp was too strict wrt spaces

Modified:
  packages/mercurial/trunk/debian/changelog
  packages/mercurial/trunk/debian/hgext.rc
  packages/mercurial/trunk/debian/mercurial.postinst

Modified: packages/mercurial/trunk/debian/changelog
===================================================================
--- packages/mercurial/trunk/debian/changelog	2008-04-14 14:03:41 UTC (rev 965)
+++ packages/mercurial/trunk/debian/changelog	2008-04-15 08:38:48 UTC (rev 966)
@@ -1,3 +1,11 @@
+mercurial (1.0-3) unstable; urgency=low
+
+  * really fix auto-enabling extensions at installation time
+    + be less strict with spaces
+    + reformat the hgext.rc file to be consistent
+
+ -- Vincent Danjean <vdanjean at debian.org>  Tue, 15 Apr 2008 10:32:38 +0200
+
 mercurial (1.0-2) unstable; urgency=low
 
   * fix typo in mercurial postinst

Modified: packages/mercurial/trunk/debian/hgext.rc
===================================================================
--- packages/mercurial/trunk/debian/hgext.rc	2008-04-14 14:03:41 UTC (rev 965)
+++ packages/mercurial/trunk/debian/hgext.rc	2008-04-15 08:38:48 UTC (rev 966)
@@ -7,91 +7,91 @@
 [extensions]
 
 # changeset access control for mercurial
-# hgext.acl=
+# hgext.acl =
 
 # allow user-defined command aliases
-# hgext.alias=
+# hgext.alias =
 
 # bugzilla integration for mercurial
-# hgext.bugzilla=
+# hgext.bugzilla =
 
 # show the children of the given or working dir revision
 # add the 'children' command
-hgext.children=
+hgext.children =
 
 # create a graph showing who changed the most lines
 # add the 'churn' command
-hgext.churn=
+hgext.churn =
 
 # add color output to the status and qseries commands
 # hgext.color =
 
 # Foreign SCM converter
 # add the 'convert' and 'debugsvnlog' commands
-hgext.convert=
+hgext.convert =
 
 # external diff program support for mercurial
-# hgext.extdiff=
+# hgext.extdiff =
 
 # pull and merge remote changes
 # add the 'fetch' command
-hgext.fetch=
+hgext.fetch =
 
 # GnuPG signing extension for Mercurial
 # add the 'sign', 'sigcheck' and 'sigs' commands
-hgext.gpg=
+hgext.gpg =
 
 # ASCII graph log extension for Mercurial
 # add the 'glog' command
-hgext.graphlog=
+hgext.graphlog =
 
 # allows browsing the history of a repository in a graphical way
 # add the 'view' command
-# hgext.hgk=
+# hgext.hgk =
 
 # syntax highlighting in hgweb file view
 # hgext.highlight =
 
 # lets you split a merge into pieces
 # add the 'imerge' command
-hgext.imerge=
+hgext.imerge =
 
 # inotify-based status acceleration for Linux systems
 # add the 'inserve' command
 # hgext.inotify =
 
 # allows you to change changelog and summary text
-# hgext.interhg=
+# hgext.interhg =
 
 # CVS/RCS-like Keyword Substitution
 # hgext.keyword =
 
 # patch queues for mercurial
 # add the 'q*' commands
-hgext.mq=
+hgext.mq =
 
 # email notifications for mercurial
-# hgext.notify=
+# hgext.notify =
 
 # make it easy to refer to the parent of a revision
-# hgext.parentrevspec=
+# hgext.parentrevspec =
 
 # send changes as series of email patches
 # add the 'email' command
-hgext.patchbomb=
+hgext.patchbomb =
 
 # removes files not known to mercurial
 # add the 'purge' and 'clean' commands
-hgext.purge=
+hgext.purge =
 
 # interactive change selection during commit
 # add the 'record' command
-hgext.record=
+hgext.record =
 
 # Patch transplanting extension for Mercurial
 # add the 'transplant' command
-hgext.transplant=
+hgext.transplant =
 
 # add filters so automatically convert end-of-line between Windows and Unix
 # world.
-# hgext.win32text=
+# hgext.win32text =

Modified: packages/mercurial/trunk/debian/mercurial.postinst
===================================================================
--- packages/mercurial/trunk/debian/mercurial.postinst	2008-04-14 14:03:41 UTC (rev 965)
+++ packages/mercurial/trunk/debian/mercurial.postinst	2008-04-15 08:38:48 UTC (rev 966)
@@ -46,7 +46,7 @@
     esac
     if [ "$enable" = true ]; then
 	echo "Enabling $ext extension"
-    	sed -i -e "s/^# \(hgext[.]$ext =\)/\1/" "$file"
+    	sed -i -e "s/^# *\(hgext[.]$ext *=\)/\1/" "$file"
     else
 	echo "Disabling $ext extension ($reason)"
     fi




More information about the Python-apps-commits mailing list