[Python-apps-commits] r2434 - in packages/mercurial/trunk/debian/patches (2 files)

vdanjean at users.alioth.debian.org vdanjean at users.alioth.debian.org
Wed Feb 18 15:51:40 UTC 2009


    Date: Wednesday, February 18, 2009 @ 15:51:40
  Author: vdanjean
Revision: 2434

Fix hg version for this snapshot

Added:
  packages/mercurial/trunk/debian/patches/deb_specific__fix_version_for_snapshot.patch
Modified:
  packages/mercurial/trunk/debian/patches/series

Added: packages/mercurial/trunk/debian/patches/deb_specific__fix_version_for_snapshot.patch
===================================================================
--- packages/mercurial/trunk/debian/patches/deb_specific__fix_version_for_snapshot.patch	                        (rev 0)
+++ packages/mercurial/trunk/debian/patches/deb_specific__fix_version_for_snapshot.patch	2009-02-18 15:51:40 UTC (rev 2434)
@@ -0,0 +1,12 @@
+Fix version for the current snapshot (instead of 'unknown')
+--- a/setup.py
++++ b/setup.py
+@@ -117,7 +117,7 @@
+ 
+ f = file("mercurial/__version__.py", "w")
+ f.write('# this file is autogenerated by setup.py\n')
+-f.write('version = "%s"\n' % version)
++f.write('version = "%s"\n' % "b8d750daadde")
+ f.close()
+ 
+ class install_package_data(install_data):

Modified: packages/mercurial/trunk/debian/patches/series
===================================================================
--- packages/mercurial/trunk/debian/patches/series	2009-02-18 15:51:35 UTC (rev 2433)
+++ packages/mercurial/trunk/debian/patches/series	2009-02-18 15:51:40 UTC (rev 2434)
@@ -6,3 +6,4 @@
 deb_specific__hgk.py.patch
 deb_specific__optional-dependencies
 proposed_upstream__correct-zeroconf-doc
+deb_specific__fix_version_for_snapshot.patch




More information about the Python-apps-commits mailing list