Mercurial > hg
view contrib/debian/control @ 31613:5c1d3f1b8f44
largefiles: omit redundant isstandin() before splitstandin()
There are many isstandin() invocations before splitstandin().
The former examines whether specified path starts with ".hglf/". The
latter returns after ".hglf/" of specified path if it starts with that
prefix, or returns None otherwise.
Therefore, value returned by splitstandin() can be used for
replacement of preceding isstandin(), and this replacement can omit
redundant string comparison after isstandin().
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Fri, 24 Mar 2017 22:24:58 +0900 |
parents | dc22729b4ebd |
children | feb910d2f59b 387a76cac28e |
line wrap: on
line source
Source: mercurial Section: vcs Priority: optional Maintainer: Mercurial Developers <mercurial-devel@mercurial-scm.org> Build-Depends: debhelper (>= 9), dh-python, netbase, python-all, python-all-dev, python-docutils, unzip, zip Standards-Version: 3.9.4 X-Python-Version: >= 2.6 Package: mercurial Depends: python, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, mercurial-common (= ${source:Version}) Architecture: any Description: fast, easy to use, distributed revision control tool. Mercurial is a fast, lightweight Source Control Management system designed for efficient handling of very large distributed projects. . Its features include: * O(1) delta-compressed file storage and retrieval scheme * Complete cross-indexing of files and changesets for efficient exploration of project history * Robust SHA1-based integrity checking and append-only storage model * Decentralized development model with arbitrary merging between trees * Easy-to-use command-line interface * Integrated stand-alone web interface * Small Python codebase Package: mercurial-common Architecture: all Depends: ${misc:Depends}, ${python:Depends}, Recommends: mercurial (= ${source:Version}), ca-certificates Suggests: wish Breaks: mercurial (<< ${source:Version}) Replaces: mercurial (<< 2.6.3) Description: easy-to-use, scalable distributed version control system (common files) Mercurial is a fast, lightweight Source Control Management system designed for efficient handling of very large distributed projects. . This package contains the architecture independent components of Mercurial, and is generally useless without the mercurial package.