annotate contrib/debian/control @ 30706:2e4862646f02

repair: speed up stripping of many roots repair.strip() expects a set of root revisions to strip. It then builds the full set of descedants by walking the descandants of each. It is rare that more than a few roots get passed in, but if that happens, it will wastefully walk the changelog for each root. So let's just walk it once. I noticed this because the narrowhg extension was passing not only roots, but all the commits to strip. When there were tens of thousands of commits to strip, this resulted in quadratic behavior with that extension.
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 04 Jan 2017 10:07:12 -0800
parents 5573b0f8dc28
children dc22729b4ebd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26148
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
1 Source: mercurial
24971
ab75baaf81d5 builddeb: new script for building a deb package
Augie Fackler <augie@google.com>
parents:
diff changeset
2 Section: vcs
ab75baaf81d5 builddeb: new script for building a deb package
Augie Fackler <augie@google.com>
parents:
diff changeset
3 Priority: optional
26148
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
4 Maintainer: Mercurial Developers <mercurial-devel@selenic.com>
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
5 Build-Depends:
29047
9a98d0e5b07f debian: fix lintian warning about debhelper
Sean Farley <sean@farley.io>
parents: 28985
diff changeset
6 debhelper (>= 9),
26148
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
7 dh-python,
28985
d2b29c848fcd debian: add missing netbase dependency
Sean Farley <sean@farley.io>
parents: 28984
diff changeset
8 netbase,
28982
8d407e358bee debian: add missing python-all-dev dependency
Sean Farley <sean@farley.io>
parents: 26148
diff changeset
9 python-all,
28983
cbb218265460 debian: add missing python-docutils dependency
Sean Farley <sean@farley.io>
parents: 28982
diff changeset
10 python-all-dev,
28984
57b11b7d9077 debian: add missing zip/unzip dependencies
Sean Farley <sean@farley.io>
parents: 28983
diff changeset
11 python-docutils,
29048
f85de28eae32 debian: alphabetize build deps
Sean Farley <sean@farley.io>
parents: 29047
diff changeset
12 unzip,
f85de28eae32 debian: alphabetize build deps
Sean Farley <sean@farley.io>
parents: 29047
diff changeset
13 zip
26148
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
14 Standards-Version: 3.9.4
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
15 X-Python-Version: >= 2.6
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
16
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
17 Package: mercurial
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
18 Depends:
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
19 python,
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
20 ${shlibs:Depends},
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
21 ${misc:Depends},
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
22 ${python:Depends},
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
23 mercurial-common (= ${source:Version})
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
24 Architecture: any
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
25 Description: fast, easy to use, distributed revision control tool.
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
26 Mercurial is a fast, lightweight Source Control Management system designed
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
27 for efficient handling of very large distributed projects.
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
28 .
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
29 Its features include:
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
30 * O(1) delta-compressed file storage and retrieval scheme
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
31 * Complete cross-indexing of files and changesets for efficient exploration
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
32 of project history
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
33 * Robust SHA1-based integrity checking and append-only storage model
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
34 * Decentralized development model with arbitrary merging between trees
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
35 * Easy-to-use command-line interface
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
36 * Integrated stand-alone web interface
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
37 * Small Python codebase
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
38
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
39 Package: mercurial-common
24971
ab75baaf81d5 builddeb: new script for building a deb package
Augie Fackler <augie@google.com>
parents:
diff changeset
40 Architecture: all
26148
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
41 Depends:
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
42 ${misc:Depends},
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
43 ${python:Depends},
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
44 Recommends: mercurial (= ${source:Version}), ca-certificates
29091
5573b0f8dc28 debian: add wish to suggests
Sean Farley <sean@farley.io>
parents: 29048
diff changeset
45 Suggests: wish
26148
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
46 Breaks: mercurial (<< ${source:Version})
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
47 Replaces: mercurial (<< 2.6.3)
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
48 Description: easy-to-use, scalable distributed version control system (common files)
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
49 Mercurial is a fast, lightweight Source Control Management system designed
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
50 for efficient handling of very large distributed projects.
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
51 .
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
52 This package contains the architecture independent components of Mercurial,
7f49efcaa9b4 debian: switch to using debhelper and dh_python2 to build debs
Augie Fackler <augie@google.com>
parents: 24971
diff changeset
53 and is generally useless without the mercurial package.