diff options
author | 2012-02-12 02:19:18 +0000 | |
---|---|---|
committer | 2012-02-12 02:19:18 +0000 | |
commit | c940eb2c794e77225209c5cd1bb11f25cf136431 (patch) | |
tree | 44c6048115716366deb6b94e22212e7f83ab52b4 /dev-vcs/tortoisehg/files | |
parent | Add patch for mercurial-2.1 compat. (diff) | |
download | historical-c940eb2c794e77225209c5cd1bb11f25cf136431.tar.gz historical-c940eb2c794e77225209c5cd1bb11f25cf136431.tar.bz2 historical-c940eb2c794e77225209c5cd1bb11f25cf136431.zip |
Bump mercurial dep on live ebuild. Drop unused patch.
Package-Manager: portage-2.2.0_alpha85/cvs/Linux x86_64
Diffstat (limited to 'dev-vcs/tortoisehg/files')
-rw-r--r-- | dev-vcs/tortoisehg/files/tortoisehg-2.1.4-mercurial-2.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/dev-vcs/tortoisehg/files/tortoisehg-2.1.4-mercurial-2.patch b/dev-vcs/tortoisehg/files/tortoisehg-2.1.4-mercurial-2.patch deleted file mode 100644 index 3f3284263240..000000000000 --- a/dev-vcs/tortoisehg/files/tortoisehg-2.1.4-mercurial-2.patch +++ /dev/null @@ -1,20 +0,0 @@ -# HG changeset patch -# User Yuya Nishihara <yuya@tcha.org> -# Date 1319557903 -32400 -# Node ID f3817a7abb17cb14bdbb428b63345fb2d17f0853 -# Parent 08559b0a658f824b99294ac12cd2e472f4cd5129 -hgversion: carry minor digit to major like 1.9 to 2.0 - -diff --git a/tortoisehg/util/hgversion.py b/tortoisehg/util/hgversion.py ---- a/tortoisehg/util/hgversion.py -+++ b/tortoisehg/util/hgversion.py -@@ -26,8 +26,7 @@ - vers = re.split(r'\.|-', v)[:2] - if vers == reqver or len(vers) < 2: - return -- nextver = list(reqver) -- nextver[1] = str(int(reqver[1])+1) -+ nextver = map(str, divmod(int(reqver[0]) * 10 + int(reqver[1]) + 1, 10)) - if vers == nextver: - return - return (('This version of TortoiseHg requires Mercurial ' |