--- mercurial-1.0.1.orig/debian/pyversions +++ mercurial-1.0.1/debian/pyversions @@ -0,0 +1 @@ +2.4- --- mercurial-1.0.1.orig/debian/control +++ mercurial-1.0.1/debian/control @@ -0,0 +1,63 @@ +Source: mercurial +Section: devel +Priority: optional +Maintainer: Python Applications Packaging Team +Uploaders: Vincent Danjean , Gerardo Curiel +Build-Depends: debhelper (>= 5.0.37.2), quilt, patchutils (>= 0.2.25), + cdbs (>= 0.4.27), python-support (>= 0.5.3), python-all-dev, xmlto, asciidoc +Standards-Version: 3.7.3 +Homepage: http://www.selenic.com/mercurial/ +Vcs-Svn: svn://svn.debian.org/python-apps/packages/mercurial/trunk +Vcs-Browser: http://svn.debian.org/wsvn/python-apps/packages/mercurial/trunk/ + +Package: mercurial +Architecture: any +Depends: ${shlibs:Depends}, ${python:Depends}, ucf (>= 2.0020), + mercurial-common (= ${binary:Version}) +Recommends: rcs | kdiff3 | tkdiff | meld +Suggests: qct, + tk8.4 | wish, + vim | emacs, + python-mysqldb, + python-pygments, + python-elementtree, + python-subversion +Description: Scalable distributed version control system + 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 + * High-speed HTTP-based network merge protocol + * Easy-to-use command-line interface + * Integrated stand-alone web interface + * Small Python codebase + . + This package contain architecture dependent files. + +Package: mercurial-common +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +Recommends: mercurial +Conflicts: mercurial (<< 1.0) +Replaces: mercurial (<< 1.0) +Description: 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. + . + 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 + * High-speed HTTP-based network merge protocol + * Easy-to-use command-line interface + * Integrated stand-alone web interface + * Small Python codebase + . + This package contain architecture independent files. --- mercurial-1.0.1.orig/debian/mercurial.dirs +++ mercurial-1.0.1/debian/mercurial.dirs @@ -0,0 +1,2 @@ +etc/bash_completion.d +etc/mercurial/hgrc.d --- mercurial-1.0.1.orig/debian/rules +++ mercurial-1.0.1/debian/rules @@ -0,0 +1,73 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- + +DEB_PYTHON_SYSTEM=pysupport +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +# These part must be run between dh_install and dh_pysupport +# So, they must be defined BEFORE including python-distutils.mk +binary-install/mercurial:: + pysupport-movemodules debian/mercurial + # remove arch-independent python stuff + rm -rf $(CURDIR)/debian/mercurial/usr/share/python-support + +binary-install/mercurial-common:: + pysupport-movemodules debian/mercurial-common + # remove arch-dependent python stuff + rm -rf $(CURDIR)/debian/mercurial-common/usr/lib/python-support + rmdir --ignore-fail-on-non-empty $(CURDIR)/debian/mercurial-common/usr/lib + +include /usr/share/cdbs/1/class/python-distutils.mk + + +binary-install/mercurial:: + # Install bash autocompletion. + install -m 644 \ + contrib/bash_completion \ + $(CURDIR)/debian/mercurial/etc/bash_completion.d/mercurial + + # Install system-wide conffiles + echo "# system-wide mercurial configuration file" \ + > $(CURDIR)/debian/mercurial/etc/mercurial/hgrc + echo "# See hgrc(5) for more information" \ + >> $(CURDIR)/debian/mercurial/etc/mercurial/hgrc + install -m 644 \ + contrib/mergetools.hgrc \ + $(CURDIR)/debian/mercurial/etc/mercurial/hgrc.d/mergetools.rc + +build/mercurial:: mercurial/__version__.py + +build/mercurial-common:: + $(MAKE) -C doc man + # workaround a bug in asciidoc that generates incorrect manpages + sed -i 's,^\([\\]\?[.]hg/hgrc\),\\\&\1,' doc/hg.1 + sed -i 's,^\([\\]\?[.][*][\\]\?[.]swp\),\\\&\1,' doc/hgignore.5 + +binary-install/mercurial-common:: + # web templates are symlinked from python-support to /u/s/mercurial + rm -rf $(CURDIR)/debian/mercurial-common/usr/share/python-support/mercurial-common/mercurial/templates + ln -sf ../../../mercurial/templates \ + $(CURDIR)/debian/mercurial-common/usr/share/python-support/mercurial-common/mercurial/templates + + # Examples must go in the /usr/share/doc/mercurial directory + mv $(CURDIR)/debian/mercurial-common/usr/share/doc/mercurial-common/examples \ + $(CURDIR)/debian/mercurial-common/usr/share/doc/mercurial + + # Install lintian override file + cp debian/mercurial-common.lintian-overrides \ + $(CURDIR)/debian/mercurial-common/usr/share/lintian/overrides/mercurial-common + +clean:: + # Keep current mercurial version + cp -a mercurial/__version__.py mercurial/__version__.py.save + $(MAKE) clean + # And retore it + mv mercurial/__version__.py.save mercurial/__version__.py + $(RM) -rv tmp/ + +mercurial/__version__.py: + @echo "$@ is missing (you probably call 'make clean' directly)." + @echo "Restore it from sources before building the package" + @echo "Aborting." + exit 1 --- mercurial-1.0.1.orig/debian/mercurial.postrm +++ mercurial-1.0.1/debian/mercurial.postrm @@ -0,0 +1,60 @@ +#!/bin/sh +# postrm script for mercurial +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge) + for conffile in hgext.rc; do + # we mimic dpkg as closely as possible, so we remove configuration + # files with dpkg backup extensions too: + ### Some of the following is from Tore Anderson: + for ext in '~' '%' .bak .dpkg-tmp .dpkg-new .dpkg-old .dpkg-dist .ucf-old .ucf-new .ucf-dist; do + rm -f /etc/mercurial/hgrc.d/$conffile$ext + done + # remove the configuration file itself + rm -f /etc/mercurial/hgrc.d/$conffile + # and finally clear it out from the ucf database + if which ucf >/dev/null; then + ucf --purge /etc/mercurial/hgrc.d/$conffile + fi + if which ucfr >/dev/null; then + ucfr --purge mercurial /etc/mercurial/hgrc.d/$conffile + fi + done + + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- mercurial-1.0.1.orig/debian/mercurial-common.lintian-overrides +++ mercurial-1.0.1/debian/mercurial-common.lintian-overrides @@ -0,0 +1 @@ +mercurial-common: wish-script-but-no-wish-dep --- mercurial-1.0.1.orig/debian/mercurial.manpages +++ mercurial-1.0.1/debian/mercurial.manpages @@ -0,0 +1,3 @@ +doc/hg.1 +doc/hgrc.5 +doc/hgignore.5 --- mercurial-1.0.1.orig/debian/changelog +++ mercurial-1.0.1/debian/changelog @@ -0,0 +1,1022 @@ +mercurial (1.0.1-1) unstable; urgency=low + + * New upstream release + + Bugfix release + * debian/watch: do not call uupdate + + -- Vincent Danjean Sat, 31 May 2008 19:26:16 +0200 + +mercurial (1.0-7) unstable; urgency=low + + * Lowering versioned dependency on ucf. Etch version of ucf is enought. + #479485 was using a pre etch version of ucf. + + -- Vincent Danjean Mon, 26 May 2008 09:25:45 +0200 + +mercurial (1.0-6) unstable; urgency=low + + * add versionned dependency on ucf due to the use to ucfr (Closes: #479485) + * re-add rcs as first alternative of recommands. Discussion about this + can be found in #460943 and #479077 (Closes: #479077) + + -- Vincent Danjean Wed, 21 May 2008 10:04:32 +0200 + +mercurial (1.0-5) unstable; urgency=low + + * Add a note in the NEWS file about upstream change for merging conflicts. + (Closes: #481553, ) + * install mergetools.hgrc system wide (Closes: #481089) + * add suggest and documentation for convert extension dependencies + (Closes: #477652) + + -- Vincent Danjean Tue, 20 May 2008 22:46:57 +0200 + +mercurial (1.0-4) unstable; urgency=low + + * fix build system so that "hg version" works + * fix typos in doc (darcs instead of darc) + * remove suggests: for foreign SCM. If someone needs them for the convert + extension, they should be already installed (Closes: #476342) + + -- Vincent Danjean Wed, 16 Apr 2008 10:05:53 +0200 + +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 Tue, 15 Apr 2008 10:32:38 +0200 + +mercurial (1.0-2) unstable; urgency=low + + * fix typo in mercurial postinst + * remove Suggests to non existant mercurial-web + * add lintian-override for non depends on "tk8.4 | wish" in + mercurial-common (the Suggests: is in the mercurial package + as for all other extensions' dependencies) + * fix handling of automatic enabled extension in postinst + (they must be disabled in the installed template) + * add detection of inotify extension before enabling it (needed on + etch that has a too old libc) + + -- Vincent Danjean Mon, 07 Apr 2008 09:06:04 +0200 + +mercurial (1.0-1) unstable; urgency=low + + * new upstream version + Closes several Debian bugs: + * "hg convert broken" (Closes: #472185) + * "hgmerge: uses non-POSIX syntax `type' in /bin/sh script" (Closes: + #447094) + * "hgmerge: --help option gives a message that ends strangely" (Closes: + #443428) + * "mercurial: hg/editor interaction leaves a lot of temp files around" + (Closes: #472943) + * "mercurial: Mercurial merge with meld needs hint" (Closes: #466006) + * "glog: tries to close closed fd" (Closes: #454326) + * "mercurial: `hg diff` can break UTF-8 encoding" (Closes: #469326) + * "Recording mtime after recording commit message leads to hidden (lost) + changes" (Closes: #452385) + General: + * greatly improved merge tool configuration, see "hgrc.5.txt" for details + * improved copy/rename handling in diffs, status, and merge + * files in .hg inherit permissions from .hg/store + * infer --repository when possible, so commands may be run from anywhere. + * easy-installable + * new "droplet" logo + + Commands: + * archive: disable ".hg_archival.txt" file addition with "ui.archivemeta" + * bisect: now built-in with greatly improved performance and usability + * bundle: new --all option to bundle the whole repository more easily. + * cat: apply decode filters with --decode + * clone: can clone from a full-history bundle + * commit: warn when creating a new head + * debugancestor: index argument is now optional + * diff: set the number of context line to show with -U/--unified + * grep: display matched revisions commit date with --date + * import: new --no-commit and --user options + * incoming/outgoing: add --limit option + * log: use -b/--only-branch to show revisions of a single branch + * remove: improve handling for --after + * revert: major speedup + * serve: prefix the served path with --prefix (also in [web] section) + * status: unknown files are skipped by --quiet + * tag: allow multiple tags to be added or removed + * tags: --verbose flags local tags + * update: switch between named branches without -C + + Extensions: + * churn: promoted to an official extension (previously in contrib) + * color: new extension coloring "status" and "qseries" command outputs + * convert: + * allow synthetic history to be spliced in with --splicemap + * support GNU Arch and Monotone sources + * svn: allow shallow conversions of single branches with + convert.svn.startrev option. + * svn: make trunk/branches/tags layout detection more flexible by + allowing either of them to be skipped. + * svn: preliminary support as a conversion target + * hgk: configuration file changed from .gitk to .hgk + * highlight: new extension enabling syntax highlighting in hgweb file view + (requires pygments) + * inotify: new extension using Linux 2.6 inotify API for instant status + checking + * keyword: new extension for filewise RCS-keyword expansion in working + directory + * mq: new --currentdate, --date, --currentuser, and + --user options + * record: add "qrecord" command when used with mq + + Web interface: + * improved WSGI integration and compatibility + * follow symlinks in hgwebdir collections + * show branches in most of gitweb templates + * add line anchors to annotate, changeset, diff and file views + * support web.baseurl in hgwebdir, overriding SCRIPT_NAME + + Hooks: + * standard hook to reject text files with CRLF in win32text extension + * redirect stdout to stderr for ssh and http servers + + [ Gerardo Curiel ] + * Split package to fix lintian warnings: + + mercurial - main package + + mercurial-common - Arch-indep bits + * Fix clean target + * Dropped patches: + patches/proposed_upstream__check_hgmerge_args.patch + patches/proposed_upstream__type_is_not_posix.patch + * patches/deb_specific__use_sensible-editor.patch: + Rediff against mercurial 1.0 + * hgmerge shell script is not provided anymore + * contrib/favicon.ico is not provided anymore + * Deleted obsolete link_hgit target from debian/rules + * Added mergetools.hgrc to the examples + directory + * Added logo-droplets.svg to /usr/share/mercurial + * Added new extensions to the hgext.rc file + + hgext.color (not enabled by default) + + hgext.highlight (not enabled by default) + + hgext.inotify (enabled, Closes: #472583) + + hgext.keyword (not enabled by default) + * Removed extensions from the hgext.rc file + + hgext.hbisect (now provided as a built-in command) + * Added new suggested dependencies : + + python-pygments (needed for hgext/highlight.py) + + python-elementtree (for darcs conversion) + + [ Vincent Danjean ] + * import mercurial in the Python Application Packaging Team project + * debian/control: + + add PAPT in the Uploaders field + + add Vcs-* fields + + add conflicts/replaces fields to ensure proper upgrade for + mercurial-common + * cleanup debian/ files + + remove unneeded debian/*.{dirs} files + * move examples/ in usr/share/doc/mercurial (in the mercurial-common + package) + * manage hgext.rc with ucf. Enabling some extensions only if their + dependencies are present + * put all usr/share/python-support/* in mercurial-common instead of + mercurial. This trigger a lintian warning but this is an error (see + #473428) + + [ Piotr Ożarowski ] + * New recommended packages: + + python-mysqldb (hgext/bugzilla.py) + + python-openssl (hgweb/server.py) + * New suggested packages: + + python-flup (contrib/hgwebdir.fcgi, Closes: #466731) + + [ William Pitcock ] + * patches/deb_specific__use_sensible-editor.patch: + +Rediff against 1.0 branch. + + -- Vincent Danjean Mon, 07 Apr 2008 00:11:40 +0200 + +mercurial (0.9.5-3) unstable; urgency=low + + * [debian/control] + + Recommends rcs first (and before kdiff3) as hgmerge + use it in first (and does not use another program if it exists) + (Closes: #460943) + As an additionnal value, rcs has really fewer dependencies + + Move Homepage: from description to source stanza + + Suggest qct instead of commit-tool (better developed upstream) + + Bump standard-version to 3.7.3 (no change needed) + + Add python-elementtree to suggest (needed for hg convert with darcs + repo) (Closes: 459353) + Should be removed when debian will switch to python2.5 (as it is + included in it) + + move tk8.4 | wish from recommends to suggests as it is needed by + an extension (hgk) and not by the core package + * [debian/README] + + document that extension dependencies are listed as Suggests: + * [debian/patches/deb_specific__use_VISUAL_envvar.patch] + Rewrite the patch using sensible-editor (Closes: 448376) + and rename it to deb_specific__use_sensible-editor.patch + * [debian/rule] + + rewrite the fix for cdbs/dh_python so that we depend on the + current python version (Closes: #456556) + + -- Vincent Danjean Mon, 21 Jan 2008 20:57:27 +0100 + +mercurial (0.9.5-2) unstable; urgency=low + + * Apply patch to change 'hgext/' into 'hgext.' when loading an extension + Current config files use the documented syntax (ie 'hgext.extname=') + Users can use 'hgext/extname=' in their hgrc if they want to + (Closes: #447088) + + -- Vincent Danjean Fri, 02 Nov 2007 11:59:03 +0100 + +mercurial (0.9.5-1) unstable; urgency=low + + * New upstream release + Closes: #435636 (erroneous multiple heads after commit) + Closes: #427808 (hgweb/hgwebdir do not work with flup (FastCGI)) + Closes: #418780 (partial hgweb listings) + Closes: #440175 (please include record extension) + Closes: #447663 (0.9.5 available) + Closes: #427851 (RSS feeds have wrong URL with https) + New features: + * Handle symlinks on systems without symlink support + * hg archive supports symlinks + * Display executable/symlink bit with "hg manifest -v" (see UpgradeNotes) + * Improved hg verify diagostics + * Faster revlog handling + * Faster handling of large directories + * Greatly improved handling of large files + * Atom syndication support in hgweb + * Improved test suite with parallel execution + + Fixes: + * Fixes for some file copy and rename corner cases + * Allow moving newly-added files before commit + * Improve hg diff whitespace handling + * Disallow fast-forward merge with an ancestor + * Fix adding untracked files on directory renames + * Fix hg archive %r format specifier + * Fix re: and glob: patterns in .hgignore + * Improve hg executable path resolution + * Many options and hgrc parsing improvements + * Better handling of VFAT filesystems on Linux + * Fix tgz archival on Windows + * Fix hg serve on Windows requiring pywin32 modules + * Fix --profile under Windows + + New extensions: + * alias - allow user-defined command aliases + * children - show the children of the given or working dir revision + * imerge - incremental interactive merging + * interhg - modify changelog text as in InterWiki + * record - darcs-style interactive change selection during commit + + New extension features: + * convert + * Now supports Subversion, Darcs and Mercurial as source SCMs + * Use clone's behaviour for the default destination name + * Force encoding to UTF-8 for converted repository + * Support new-style .cvspass file format + * Filter the files and directories to import + * Remap paths to new locations during import + * hgk + * Fix hgk stopping because of untrusted repository warnings + * Handle filenames with spaces + * Improved documentation + * mq + * Autodetect --git patches on qrefresh + + * Improve README.Debian about Emacs + Closes: #446972 (mercurial.el: autoload) + Thanks to Trent W. Buck for its explainations added to the README.Debian + * Apply several patches to hgmerge: + - use /bin/bash for hgmerge: 'type' is not POSIX (Closes: #447094) + - patch hgmerge to do minimum check of its arguments (Closes: #443428) + - use $VISUAL and default to 'editor' instead of 'vi' + (Closes: #447095, #448376) [mercurial/command.py modified too] + * Correct wrong link to web docs in README.Debian (Closes: #425841) + * [debian/control] Recommends: meld (used to hgmerge) (Closes: #316347) + + -- Vincent Danjean Mon, 29 Oct 2007 10:22:45 +0100 + +mercurial (0.9.4-1) unstable; urgency=low + + * New upstream release (Closes: #430714) + + New features: + * support for symlinks + * improved tag handling + * improved merge handling of file and directory renames + * improved named branch usability + * numerous improvements to commands + * generic pre- and post-command hooks + * improved Windows support + * basic BeOS and OpenVMS support + * numerous bug fixes + + + New extensions and contributions: + * extensions can now be specified in .hg/hgrc + * new convert extension with CVS support + * new graphlog extension + * improved patchbomb extension + * example FastCGI script + + -- Vincent Danjean Wed, 27 Jun 2007 00:33:27 +0200 + +mercurial (0.9.3-2) unstable; urgency=low + + * [debian/rule, debian/control] remove workaround for symlink support in + python-support and bump dependency of python-support (>= 0.4.3) + * [debian/rule] use default python interpreter as 2.4 is the default now + * [debian/mercurial.postinst] remove old + /usr/lib/python*/site-packages/{mercurial,hgext} directories if needed + (Closes: #382252) + * forgot to closes: #382185 since 0.9.2 upstream release (hgrc manual does + not say [smtp] host is optional any more) + + -- Vincent Danjean Wed, 3 Jan 2007 14:22:10 +0100 + +mercurial (0.9.3-1) unstable; urgency=low + + * New upstream release + + Bug fixes: + - fix a merge copy/rename corner case + - fix spurious new heads message with push -r + - fix hg export %n sequence numbers + - fix shell quoting on Windows + - fix charset encoding for hgwebdir and obfuscated addresses + - fix missing generated files for distribution tarball + - fix convert-repo tag updates and transcoding of committer + - add instructions for redoing failed merges + + + Documentation fixes: + - hg cat, manifest, and tag default to current parent revision. + - CGI stub comments clarified + - corrected synopses for many commands + - improve doc building and distribution + - convert-repo: update usage information + + + Extension fixes: + - mq: fix strip on Windows + - mq: fix some guards corner cases + - gpg: make 'hg sign' default to current parent + + + + -- Vincent Danjean Tue, 19 Dec 2006 11:25:55 +0100 + +mercurial (0.9.2-3) unstable; urgency=low + + * remove debian/patches/submitted_upstream__restore_hgk.py.patch + as it is now included in the release (and avoid to use a old hgk.py + with a recent hg) (Closes: #403282) + + -- Vincent Danjean Sat, 16 Dec 2006 15:51:13 +0100 + +mercurial (0.9.2-2) unstable; urgency=low + + * [debian/rules] add support for python2.5 + * [README.Debian] update list of default extensions + + -- Vincent Danjean Thu, 14 Dec 2006 15:26:10 +0100 + +mercurial (0.9.2-1) unstable; urgency=low + + * New upstream release + + New features: + - merge now follows renames and copies + - new layout protects against case-insensitivity issues + - new branch and branches commands for managing named branches + - push command accepts -r for pushing specified heads or named + branches + - proper storage of changelog and other metadata in UTF-8 + - log, annotate and grep '--follow' follow renames and copies + - date parsing is improved and log, update, and revert accept + --date ranges + - additional command options for log, status, addremove + - improved schema for hgweb URLs + - bundle can now use '-r' and '--base' removing the need of an + base repository + - support for git-style extended patches with --git option + - new debuginstall command to check for common installation issues + + + New contributions and extensions: + - mq + - support for quilt-style guards + - can import existing changesets into mq ('qimport -r') or + commit mq patches as regular changesets ('qdel -f') + - edit the log message with 'qrefresh -e' + - rename patches with 'qrename' + - qheader to display the patch header of particular patches, + and '--summary' for qseries, qapplied, qunapplied and qtop + - combine patches with 'qfold' + - qrefresh supports pattern options to import only a subset + of the changes into a patch, to help split changes into + multiple patches + - patch names for applied patches act like local tags, and can + be used in the revision arguments of any hg command + - hgk + - browse a subset of the history with '--limit' and revision range + arguments + - shows revision numbers as well as node hashes + - churn: graph lines of code changed per user over a range of history + - patchbomb: generate inline attachments with '-a' + + + Behavior changes: + - hg cat defaults to the working directory revision rather than tip + - hg manifest no longer shows internal file revision hashes by default + - hg revert now requires the -a flag to revert all files + + + Developer notes: + - new high-level API functions in the 'hg' module + - new context API simplifies many operations + - The changelog can now include arbitrary metadata in key: value form + * [debian]: include the churn extension and enable it by default + + -- Vincent Danjean Thu, 14 Dec 2006 13:05:01 +0100 + +mercurial (0.9.1+20061210+8c24b6fd5866-1) experimental; urgency=low + + * New upstream release + snapshot before 0.9.2 release + * [debian/control] : update maintainer field : I'am DD now :-) + + -- Vincent Danjean Sun, 10 Dec 2006 22:40:30 +0100 + +mercurial (0.9.1-1) unstable; urgency=low + + * New upstream release + Major changes between Mercurial 0.9 and 0.9.1: + + New features: + - You can now configure your 'hgweb' server to let remote users + 'push' changes over http. + - You can now 'import' a patch in a mail message by saving the mail + message, and importing it. This works for patches sent either + inline or as attachments. + - The 'diff' command now accepts '-rA:B' syntax as a synonym for + '-r A -r B', and adds '-b' and '-B' options. + + New contributions and extensions: + - The 'acl' extension lets you lock down parts of a repository + against incoming changes + - The 'extdiff' extension lets you run your favourite graphical + change viewer + - Comprehensive integration with the 'vim' editor + - A restricted shell for 'ssh'-hosted repositories + - An importer for 'darcs' repositories + + New hooks added: + - 'preupdate' is run before an update or merge in the working + directory. + - 'update' is run after an update or merge in the working + directory. + + Behaviour changes: + - NOTE: Mercurial as installed by the Windows binary + installer no longer performs automatic line-ending conversion for + Unix/Linux compatibility. To re-enable this feature, edit your + 'mercurial.ini' file after you upgrade. + - The Windows binary installer now automatically adds 'hg' to your + '%PATH%'. + - The 'backout' command now runs an editor by default, to let you + modify the commit message for a backed-out changeset. + - An earlier problem with parsing of tags has been fixed. + This makes tag parsing slower but more reliable. + + Memory usage and performance improvements: + - The 'remove' command has been rewritten to be hundreds of times + faster in large repositories. + - It is now possible to 'clone' a repository very quickly over a + LAN, if the server is configured to allow it. See the new 'server' + section in the 'hgrc' documentation. + + Other changes of note: + - Mercurial will now print help for an extension if you type 'hg + help EXT_NAME'. + - The usual array of bug fixes and documentation improvements. + - The integrated web server is now more WSGI-compliant. + - Work has begun to solidify Mercurial's API for use by third-party + packages. + + -- Vincent Danjean Tue, 25 Jul 2006 19:21:13 +0200 + +mercurial (0.9-9) unstable; urgency=low + + * Force the use of python2.4 with a sed command. A race condition on some + autobuilders makes that workaround needed. (Really closes: #378835) + + -- Vincent Danjean Thu, 20 Jul 2006 17:59:35 +0200 + +mercurial (0.9-8) unstable; urgency=low + + * do not use default python but python2.4 instead for hg : + most code is python2.3 compatible (so we still compile .py files for + pyhton2.3) but "hg help" need features for python2.4 + Closes: #378835 + Thanks David Douard for reporting this. + * adding missing manpage hgignore (Closes: #378502) + Thanks Baruch Even for reporting this. + * remove hack in postinst (dpkg not replacing directory by symlink) as it is + no more usefull (directory was in /usr/lib/python2.3, symlink in now in + /usr/lib/python2.4) + * Create symlinks for the templates directory within the mercurial directory + (and not in another python serch path) (Closes: #378538) + + -- Vincent Danjean Wed, 19 Jul 2006 12:25:30 +0200 + +mercurial (0.9-7) unstable; urgency=low + + * mercurial will use the default python interpreter + + -- Vincent Danjean Tue, 11 Jul 2006 23:12:14 +0200 + +mercurial (0.9-6) unstable; urgency=low + + * update to the new python policy + * reenable the fix for #362487 as python2.3 is useable again + + -- Vincent Danjean Tue, 4 Jul 2006 00:19:50 +0200 + +mercurial (0.9-5) unstable; urgency=low + + * call dh_python with -V 2.4 argument + + -- Vincent Danjean Mon, 29 May 2006 09:18:53 +0200 + +mercurial (0.9-4) unstable; urgency=low + + * [debian/copyright] add copyright for Debian packaging + * [debian/NEWS] talk about python2.3->python2.4 transition + + -- Vincent Danjean Wed, 17 May 2006 00:28:48 +0200 + +mercurial (0.9-3) unstable; urgency=low + + * [debian/compat] debhelper compat version dumped to 5 + + -- Vincent Danjean Sun, 14 May 2006 21:27:43 +0200 + +mercurial (0.9-2) unstable; urgency=low + + * fix a bug in update/revert (patch from Vadim Gelfer already applied + upstream) + * [debian/control] build-depend on python as dh_python require it + (package did not fail to build due to an indirect build-dependency + but it is safer like that) + + -- Vincent Danjean Fri, 12 May 2006 19:30:44 +0200 + +mercurial (0.9-1) unstable; urgency=low + + * New upstream release + Major changes between Mercurial 0.8.1 and 0.9: + - The repository file format has been improved. + - This has resulted in an average 40% reduction in disk space usage. + - The new format (called RevlogNG) is now the default. + - Mercurial works perfectly with both the old and new repository + file formats. It can transfer changes transparently between + repositories of either format. + - To use the new repository format, simply use `hg clone --pull` to + clone an existing repository. + - Note: Versions 0.8.1 and earlier of Mercurial cannot read + RevlogNG repositories directly, but they can `clone`, `pull` + from, and `push` to servers that are serving RevlogNG + repositories. + - Memory usage has been improved by over 50% for many common operations. + - Substantial performance improvements on large repositories. + - New commands: + - 'archive' - generate a directory tree snapshot, tarball, or zip + file of a revision + - Deprecated commands: + - 'addremove' - replaced by 'add' and 'remove --after' + - 'forget' - replaced by 'revert' + - 'undo' - replaced by 'rollback' + - New extensions: + - Bugzilla integration hook + - Email notification hook + - Nested repositories are now supported. Mercurial will not recurse + into a subdirectory that contains a '.hg' directory. It is treated + as a separate repository. + - The standalone web server, 'hg serve', is now threaded, so it can + talk to multiple clients at a time. + - The web server can now display a "message of the day". + - Support added for hooks written in Python. + - Many improvements and clarifications to built-in help. + * [debian/control] set Standard-Version to 3.7.2 (no changes required) + + -- Vincent Danjean Thu, 11 May 2006 01:00:03 +0200 + +mercurial (0.8.1-6) unstable; urgency=low + + * cleanup patches applied on top of upstream sources + send the interesting one to upstream before the 0.9 release + + -- Vincent Danjean Thu, 27 Apr 2006 03:20:24 +0200 + +mercurial (0.8.1-5) unstable; urgency=low + + * use python2.4 instead of standard python (2.3 for now): + this allows to use hglib backend with tailor + * several minor fixes so that tailor works with the 'hglib' backend + these are submitted upstream + * hardcode python interpreter in script instead of using /usr/bin/env + as suggested by the python policy + * remove previous hack (dpkg not replacing directory by symlink) as + it is no more usefull (directory was in /usr/lib/python2.3, symlink in now + in /usr/lib/python2.4) + + -- Vincent Danjean Mon, 17 Apr 2006 12:21:24 +0200 + +mercurial (0.8.1-4) unstable; urgency=low + + * directory doesn't get replaced by symlink (Closes: #362487) + and dpkg does not say anything ! Thanks Norbert Tretkowski + + -- Vincent Danjean Fri, 14 Apr 2006 00:38:10 +0200 + +mercurial (0.8.1-3) unstable; urgency=low + + * Really fix #361897 (Thanks Darren Salt again) + + -- Vincent Danjean Wed, 12 Apr 2006 20:33:45 +0200 + +mercurial (0.8.1-2) unstable; urgency=low + + * Fix new tag syntax for hgk. Thanks Darren Salt (Closes: #361897) + + -- Vincent Danjean Tue, 11 Apr 2006 13:25:04 +0200 + +mercurial (0.8.1-1) unstable; urgency=low + + * New upstream release + Major changes from 0.8 to 0.8.1: + - new extensions: + mq (manage a queue of patches, like quilt only better) (Closes: #343824) + email (send changes as series of email patches) + - new command: merge (replaces "update -m") + - improved commands: log (--limit option added), pull/push ("-r" works + on specific revisions), revert (rewritten, much better) + - comprehensive hook support + - output templating added, supporting e.g. GNU changelog style + - Windows, Mac OS X: prebuilt binary packages, better support + - many reliability, performance, and memory usage improvements + + -- Vincent Danjean Mon, 10 Apr 2006 22:09:16 +0200 + +mercurial (0.8-3) unstable; urgency=low + + * Fix typo in long description + + -- Vincent Danjean Tue, 4 Apr 2006 03:30:22 +0200 + +mercurial (0.8-2) unstable; urgency=low + + * Add documentation about extensions packaged for Debian. + + -- Vincent Danjean Tue, 31 Jan 2006 11:14:52 +0100 + +mercurial (0.8-1) unstable; urgency=low + + * New upstream release + Major changes from 0.7 to 0.8: + - faster status, diff, and commit + - reduced memory usage for push and pull + - improved extension API + - new bisect, gpg, hgk, and win32text extensions + - short URLs, binary file handling, and optional gitweb skin for hgweb + - numerous new command options including log --keyword and pull --rev + - improved hooks and file filtering + + -- Vincent Danjean Mon, 30 Jan 2006 16:06:34 +0100 + +mercurial (0.7+20060110+0d36e3d7e2ea-1) experimental; urgency=low + + * package test to try upstream sources before 0.8 + + -- Vincent Danjean Tue, 10 Jan 2006 22:47:38 +0100 + +mercurial (0.7-8) unstable; urgency=low + + * Closes: #343459: correct FAQ URL + * Closes: #343458: fix directory completion + * Closes: #343472: clone does not work with path aliases + (Thanks Daniel Kobras for these three bugreports with patch) + + -- Vincent Danjean Tue, 3 Jan 2006 21:13:23 +0100 + +mercurial (0.7-7) unstable; urgency=low + + * Add support for alias st for hg status (Closes: #340235) + (backport from tip, thanks Michael Gebetsroither ) + + -- Vincent Danjean Tue, 22 Nov 2005 13:01:39 +0100 + +mercurial (0.7-6) unstable; urgency=low + + * Backport of the patch "fix handling of daylight saving time" + from upstream (Closes: #336646) + + -- Vincent Danjean Wed, 2 Nov 2005 06:17:04 +0100 + +mercurial (0.7-5) unstable; urgency=low + + * Add hgweb.cgi and hgwebdir.cgi in examples (Closes: #332973) + + -- Vincent Danjean Sat, 15 Oct 2005 11:24:54 +0200 + +mercurial (0.7-4) unstable; urgency=low + + * backport from upstream of + - use of 'hgext' directory for extensions + - 'hgk.py' extension (was hgit before) + => 'hg view' works ;-) + * add 'Recommands: wish' for the hgk extension + + -- Vincent Danjean Fri, 23 Sep 2005 11:45:13 +0200 + +mercurial (0.7-3) unstable; urgency=low + + * Add system-wide config directory (so that extensions can be easyly added) + * Enable hgit extension + + -- Vincent Danjean Tue, 20 Sep 2005 02:47:16 +0200 + +mercurial (0.7-2) unstable; urgency=low + + * Correct changelog.Debian (I forgot to add upstream changes in the + previous entry) + + -- Vincent Danjean Sun, 18 Sep 2005 22:46:14 +0200 + +mercurial (0.7-1) unstable; urgency=low + + * New upstream release (Closes: #328725) + core + improved merge logic + improved copy/rename support (still experimental) + automatic binary file handling + generic file filtering support + various performance improvements + command line + new bundle/unbundle commands for exchanging native updates + more natural support for remove, copy, and rename + faster, more powerful log command + new grep command for searching entire history + support for plug-in extensions + improved exception handling and debugging facilities + hgweb + optional downloading of tarballs and zip files + Windows support + hardlinking support + newline conversion through file filtering + contrib + updated hgk + * New package (a bit delayed due to a crash disk and a new job) + * Upstream added support for options -h and --help (Closes: #324049) + * renamming conffile 'bash_completion' to 'mercurial' (Closes: #325266) + + -- Vincent Danjean Sat, 17 Sep 2005 16:54:37 +0200 + +mercurial (0.6c-1) unstable; urgency=low + + * New upstream release + What's new: + + core functionality + ability to use tags to identify branches + detect adding new heads with push + protocol versioning for push/pull + https: support + minor merge fixes + command line + much more powerful path handling + incoming/outgoing commands + smarter import/export + fewer long, confusing hashes to deal with + many new command options and settings + portability + improved portability of test suite and support scripts + improved Windows support + web interface + easy to set up multiple repository interface + several new hgrc config options + IPv6 support + documentation + improved built-in help and man pages + a steadily growing wiki + tutorial in multiple languages + extras + a highly functional bash auto-completion script + a new Emacs mode + + -- Vincent Danjean Tue, 23 Aug 2005 11:01:36 +0200 + +mercurial (0.6b-2) unstable; urgency=low + + * Adds proper python dependencies + * Recommends tkdiff or kdiff3 for merge purpose + * Suggests meld as this is another merging program that can be used by + mercurial (but this needs the user set the HGMERGE variable) + * Closes: #316347: Please Recommands: meld + + -- Vincent Danjean Wed, 17 Aug 2005 10:33:33 +0200 + +mercurial (0.6b-1) unstable; urgency=low + + * New upstream release + What's new: + + improved ui + new clone command replaces mkdir+init+pull+update + new revert command + add range support and -p option to log to show patches + tags command now supports local tags + improved push and pull + better exception and signal handling + improved option parsing + support for user-defined hooks (aka triggers) + performance updates + even faster import of large sets of patches + faster delta generation + faster annotate + faster status and ignore + improved web interface + more conformant and compatible HTML output + built-in RSS feeds + better tags handling + fast multiple keyword search + portability work + support for Windows is nearly complete + should easily compile and install on any modern UNIX + comes with RPM spec file and script + and more + doc and help updates + improved test suite + numerous bug fixes and cleanups + + -- Vincent Danjean Tue, 12 Jul 2005 11:45:13 +0200 + +mercurial (0.6-2) unstable; urgency=low + + * Add meld to Suggest as it is not used by default hgmerge + (Closes: #316347: Please Recommands: meld) + + -- Vincent Danjean Thu, 30 Jun 2005 16:30:33 +0200 + +mercurial (0.6-1) unstable; urgency=low + + * New upstream release + This release contains a huge number of improvements: + + improved source tracking + multi-head support + permission tracking + rename and copy tracking + improved tag handling + friendlier, more robust command line interface + integrated help + faster startup + better exception handling + smarter three-way merge helper + improved communication + faster outstanding changeset detection + SSH-based push support + non-transparent proxy support + improved configuration handling + support for .hgrc and .hg/hgrc files + save per-repo defaults for pull + new delta extension + faster, smaller, and simpler than GNU diff or xdiff + faster commit, push/pull, and annotate + improved interoperability + convert-repo framework for importing from other SCMs + can work with gitk and git-viz + portability improvements + tested on big and little-endian 32 and 64-bit UNIX platforms + Windows support is nearly complete + and much more + numerous performance tweaks and bugfixes + automated test suite + updated docs and FAQ + + -- Vincent Danjean Sat, 25 Jun 2005 00:15:13 +0200 + +mercurial (0.5b+20050618-1) unstable; urgency=low + + * New upstream sources (tip 396:8f8bb77d560e70bcc95577e4dfa877df18d876ab) + this fix a alignment bug reported on alpha + * many others fix and improvments from upstream + * Change short description + Closes: #314577: Please spell out the abbreviation in the synopsis + + -- Vincent Danjean Sat, 18 Jun 2005 10:02:39 +0200 + +mercurial (0.5b+20050612-2) unstable; urgency=low + + * Fix spelling mistake (thanks Emanuele Aina) + Closes: #314161: Small spelling error in documentation + * New package that should solve the FTBFS due to the use of the boggus + package debhelper 4.9.0 by autobuilders + Closes: #313491: mercurial_0.5b+20050612-1: FTBFS: syntax error at + /usr/bin/dh_strip line 191, near 'if' + * Closes: #314577: Please spell out the abbreviation in the synopsis + + -- Vincent Danjean Fri, 17 Jun 2005 11:14:06 +0200 + +mercurial (0.5b+20050612-1) unstable; urgency=low + + * New upstream sources + + -- Vincent Danjean Sun, 12 Jun 2005 11:40:02 +0200 + +mercurial (0.5b-5) unstable; urgency=low + + * manually fix wrong build-dependencies that have been previously generated + by cdbs (ie remove 'build-essential' and duplicates) + + -- Vincent Danjean Sat, 4 Jun 2005 09:16:40 +0200 + +mercurial (0.5b-4) unstable; urgency=low + + * remove automatic generation of control from control.in (with cdbs + dependencies) as requested by ftpmaster to accept this NEW package + (see still opened bugs #311724 for more information) + + -- Vincent Danjean Fri, 3 Jun 2005 08:57:06 +0200 + +mercurial (0.5b-3) unstable; urgency=low + + * First official Debian release. (Closes: #308873: ITP: mercurial -- scalable + distributed SCM) + + -- Vincent Danjean Thu, 2 Jun 2005 08:55:53 +0200 + +mercurial (0.5b-2) unstable; urgency=low + + * package description improved from the mercurial ML + * Add Homepage: to long description (thanks Anibal Monsalve Salazar) + * Change Architecture from all to any as mercurial sources now have C files + to compile (thanks Anibal Monsalve Salazar) + * Update copyright (thanks Anibal Monsalve Salazar) + * Add rcs and tkdiff to Recommands as hgmerge use it (only recommands and + not depends because if the user set HGMERGE to kdiff3, he does not need + them) + * use hgmerge if HGMERGE is not set (patch submitted upstream) + + -- Vincent Danjean Wed, 1 Jun 2005 11:35:20 +0200 + +mercurial (0.5b-1) unstable; urgency=low + + * New upstream release + + -- Vincent Danjean Tue, 31 May 2005 00:00:29 +0200 + +mercurial (0.5-1) unstable; urgency=low + + * New upstream release + + -- Vincent Danjean Sun, 29 May 2005 21:36:55 +0200 + +mercurial (0.4f-1) unstable; urgency=low + + * New upstream release + * english improved in description (thanks Jay Berkenbilt ) + + -- Vincent Danjean Sat, 14 May 2005 00:55:40 +0200 + +mercurial (0.4e-3) unstable; urgency=low + + * package description improved (thanks Bas Zoetekouw ) + + -- Vincent Danjean Fri, 13 May 2005 13:46:44 +0200 + +mercurial (0.4e-2) unstable; urgency=low + + * update description + + -- Vincent Danjean Thu, 12 May 2005 23:32:43 +0200 + +mercurial (0.4e-1) unstable; urgency=low + + * New upstream release + + -- Vincent Danjean Thu, 12 May 2005 23:13:54 +0200 + +mercurial (0.4b-2) unstable; urgency=low + + * add debian watch file + * add depend on tkdiff + * correct some lintian warnings + + -- Vincent Danjean Fri, 29 Apr 2005 12:59:33 +0200 + +mercurial (0.4b-1) unstable; urgency=low + + * Initial Release. + + -- Vincent Danjean Fri, 29 Apr 2005 08:54:25 +0200 + --- mercurial-1.0.1.orig/debian/mercurial.preinst +++ mercurial-1.0.1/debian/mercurial.preinst @@ -0,0 +1,62 @@ +#! /bin/sh +# preinst script for mercurial +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + install|upgrade) + # Fixing a wrong name in a config file (package 6c-1) + FILE=/etc/bash_completion.d/bash_completion + if [ -f $FILE ] && grep -sq hg $FILE ; then + # Argh, there is the previous wrong named file + # Has it been modified ? + MD5="`md5sum $FILE | cut -f 1 -d \ `" + if [ "$MD5" != a78c4acd831bacee32fde42a42a5ae5e ]; then + # conffile has been locally modified. Moving it so that + # dpkg will ask what to do about + mv $FILE /etc/bash_completion.d/mercurial + else + # not changed. Removing it so that dpkg install quietly the + # new (renamed) file + rm $FILE + fi + fi + if [ "$2" = "0.7-3" ] && [ -f /etc/mercurial/hgrc.d/hgit.rc ]; then + # This release has never been official. Let's purge the + # old config file if someone installed the package from + # my web page. No need to take care of user's modifications: + # it was experimental stuff. + echo "Purging old config file '/etc/mercurial/hgrc.d/hgit.rc'" + rm -fv /etc/mercurial/hgrc.d/hgit.rc + fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- mercurial-1.0.1.orig/debian/mercurial-common.dirs +++ mercurial-1.0.1/debian/mercurial-common.dirs @@ -0,0 +1,2 @@ +usr/share/doc/mercurial +usr/share/lintian/overrides --- mercurial-1.0.1.orig/debian/compat +++ mercurial-1.0.1/debian/compat @@ -0,0 +1 @@ +5 --- mercurial-1.0.1.orig/debian/copyright +++ mercurial-1.0.1/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Vincent Danjean on +Fri, 29 Apr 2005 08:54:25 +0200. + +It was downloaded from http://www.selenic.com/mercurial/ + +Copyright 2005 Matt Mackall +Copyright 2002-2004 Michael D. Stenner, Ryan Tomayko (byterange.py) + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is licensed under the GPL, see above, and has +the following copyright: + +Copyright (C) 2005-2006 Vincent Danjean --- mercurial-1.0.1.orig/debian/README.Debian +++ mercurial-1.0.1/debian/README.Debian @@ -0,0 +1,130 @@ +mercurial for Debian +-------------------- + +Table of contents +* Documentation +* Extensions provided in this package and their dependencies +* Other extensions +* Emacs support +* Very old users of mercurial + + +Documentation +************* + +Most of the mercurial documentation is available on the web on a Wiki. +The URL is: http://www.selenic.com/mercurial/wiki/ +Some parts of the Wiki will be added in the package (for people not online) +as soon as mercurial documentation stabilises enough. + +Extensions provided in this package and their dependencies +********************************************************** + +Look at examples/sample.hgrc to get a few information about available +extensions. + +Extensions can be enabled system-wide, per-user and/or per repository (see +hgrc(5) for more information). + By default, this debian package enables extensions that only enable new +commands (such as 'hgk', 'gpg', ...), but not extensions that modify +mercurial behaviour (such as 'win32text') + The system administrator can modify this by editing +/etc/mercurial/hgrc.d/hgext.rc + Some extensions are enabled only the their depending package(s) are +installed. This auto-detection will not work if these depends are installed +or removed after mercurial. In this case, run "dpkg-reconfigure mercurial" +or manually edit /etc/mercurial/hgrc.d/hgext.rc + +Dependencies needed for extension are listed as Suggests: as they are not +strickly needed to use the core of mercurial. Install them if you +need them. + +Extension: bugzilla +------------------- +Bugzilla integration for mercurial. +Depends: python-mysqldb + +Extension: convert +------------------ +Foreign SCM converter (from darcs, git, monotone, bzr, subversion, ...). +Depends: python-elementtree (for darcs convertion only) +Depends: python-subversion (for subversion convertion only) + +Extension: hgk +-------------- +Add the 'view' command, allows browsing the history of a repository in +a graphical way. +Depends: tk8.4 | wish + +Extension: highlight +-------------------- +Pretty output for hgweb. +Depends: python-pygments + +CGI Script: hgweb.cgi +--------------------- +CGI script to serve one mercurial repository. +In order to use it, you need to edit it (to set the path to you repository). +Depends: apache2 | httpd + +CGI Script: hgwebdir.cgi +------------------------ +CGI script to serve several mercurial repositories. +In order to use it, you need to edit it (to set paths to your repositories). +Depends: apache2 | httpd + +CGI Script: hgwebdir.fcgi +------------------------- +Experimental CGI script to serve several mercurial repositories using +WSGIServer. +In order to use it, you need to edit it (to set paths to your repositories). +Depends: apache2 | httpd, python-flup + + +Other extensions +**************** + +hgct +---- +Add the 'ct' command that is a graphical interface for commiting changes. +hgct is available in the 'commit-tool' debian package. +Note: hgct is not developed anymore. Try to switch to qct. + +qct +--- +Add the 'qct' command that is a graphical interface for commiting changes. + +qct is available in the 'qct' debian package. + + +Emacs support +************* +Upstream provides a mercurial.el file that is installed by this package. +However, it is not enabled (loaded) by default. Users that want to use it +should at in their start-up files (such as ~/.emacs) something like: + + (require 'mercurial) + +It can be better to do instead: + + (when (locate-library "mercurial") + (autoload 'hg-find-file-hook "mercurial") + (add-hook 'find-file-hooks 'hg-find-file-hook)) + +because it defers loading mercurial until it is needed, meaning that +Emacs will boot faster and use less memory when not using mercurial. + +This is not done system-wide by this package because the "until needed" is a +bit of a fallacy in this case: find-file is likely to be run at or shortly +after boot. + + +Very old users of mercurial +*************************** + +For users using mercurial since a long time ;-), I added the convert-repo in +the examples directory. It is needed if you have an old repository that you +want to use with new version of mercurial. +Note: these old versions of mercurial have never been officially packaged in +Debian. + --- mercurial-1.0.1.orig/debian/mercurial.docs +++ mercurial-1.0.1/debian/mercurial.docs @@ -0,0 +1,2 @@ +README +doc/FAQ.txt --- mercurial-1.0.1.orig/debian/mercurial.postinst +++ mercurial-1.0.1/debian/mercurial.postinst @@ -0,0 +1,101 @@ +#!/bin/sh +# postinst script for mercurial +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +check_ext() { + local file="$1" + local ext="$2" + local dep="$3" + local enable="true" + + case "$dep" in + wish) + which wish > /dev/null || enable=false + reason="no 'wish' script found [can be found in 'tk8.4' package]" + ;; + python-*) + test -d /usr/share/doc/$dep || enable=false + reason="package '$dep' is not installed" + ;; + inotify) + # etch does not build the inotify extension due to a too old libc + if test "$(ls /usr/lib/python-support/mercurial/python*/hgext/inotify 2>/dev/null | wc -l)" = 0; then + enable=false + reason="not built probably due to a lack of support (old libc, ...)" + fi + ;; + *) + echo "Internal error" + exit 1 + ;; + esac + if [ "$enable" = true ]; then + echo "Enabling $ext extension" + sed -i -e "s/^# *\(hgext[.]$ext *=\)/\1/" "$file" + else + echo "Disabling $ext extension ($reason)" + fi +} + +case "$1" in + configure) + # Fix for old packages not managing pyc files + for d in /usr/lib/python*/site-packages/mercurial /usr/lib/python*/site-packages/hgext ; do + if [ -d "$d" ] ; then + echo "Removing old python byte-compiled files in $d" + rm -rf "$d" + fi + done + + for conffile in hgext.rc; do + # Tell ucf that the file in /usr/share/mercurial is the latest + # maintainer version (but we rewrite it to enable extension based + # on guess on whether other packages are here or not), and let it + # handle how to manage the real configuration file in + # /etc/mercurial/hgrc.d. + TMPFILE=`mktemp` + chmod 644 "$TMPFILE" + cp /usr/share/mercurial/$conffile "$TMPFILE" + check_ext "$TMPFILE" hgk wish + check_ext "$TMPFILE" highlight python-pygments + check_ext "$TMPFILE" inotify inotify + ucf --sum-file /usr/share/mercurial/$conffile.md5sums --three-way \ + "$TMPFILE" /etc/mercurial/hgrc.d/$conffile + ucfr mercurial /etc/hgrc.d/$conffile + rm -f "$TMPFILE" + done + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- mercurial-1.0.1.orig/debian/NEWS +++ mercurial-1.0.1/debian/NEWS @@ -0,0 +1,78 @@ +mercurial (1.0-5) unstable; urgency=low + + Since the 1.0 version, mercurial handles most of the merges internaly. + This is an upstream decision (see upstream changeset f077815932ce) + that the debian package will follow. This means that : + - there is no hgmerge script any more + - programs that were invoked by hgmerge (kdiff3, ...) are not by default + See http://www.selenic.com/mercurial/wiki/index.cgi/MergeToolConfiguration + for configuring mergetools with mercurial 1.0 + + -- Vincent Danjean Tue, 20 May 2008 22:37:24 +0200 + +mercurial (1.0) unstable; urgency=low + + Since the 1.0 version, the hbisect extension is now provided as a + built-in command. If you keep an older version of the hgext.rc file + in /etc/mercurial/hgrc.d/ or a $HOME/.hgrc file with the extension + enabled , mercurial will emit a warning: "failed to import extension + hgext.hbisect: No module named hbisect". Just delete the + hgext.hbisect entry in the hgext.rc and/or .hgrc file. + + -- Gerardo Curiel Wed, 02 Apr 2008 16:14:47 -0430 + +mercurial (0.9) unstable; urgency=low + + Since the 0.8.1-5 version, mercurial uses python2.4 instead of (currently the + default on Debian system) python2.3. This allows tailor to use the hg + backend (tailor requires python2.4). + If someone really need python2.3 version of mercurial, please tell me (with + reportbug for example). I will then split the package in python modules + (default, 2.3, 2.4, ...) and one executable. + + Note: if you copied the hgwebdir.cgi or hgweb.cgi script from the examples + directory, do not forget to update it so that it runs /usr/bin/python2.4 + instead of /usr/bin/python (or recopy it) + + UPDATE since 0.9-6: + Due to the new python policy, mercurial modules are now available for all + supported python versions in debian (currently 2.3 and 2.4) + + -- Vincent Danjean Tue, 4 Jul 2006 00:53:21 +0200 + +mercurial (0.8) unstable; urgency=low + Upgrade notes: + - diff and status command are now repo-wide by default + (use 'hg diff .' for the old behavior) + - GPG signing is now done with the gpg extension + - the --text option for commit, rawcommit, and tag has been removed + - the copy/rename --parents option has been removed + + -- Vincent Danjean Mon, 30 Jan 2006 16:11:19 +0100 + +mercurial (0.6c-1) unstable; urgency=low + + Previous versions of mercurial can lead to conflicts for internal filenames + if the repo has both a file 'foo' and a directory 'foo.d'. + This version of mercurial solves this, however this means that some internal + files have been renamed. + + If you want to use (commit, clone on same filesystem, ...) a repo created + with an old version with the new version AND this repo contains directory + nammed 'foo.d', then you need to deal with it. According to the upstream + author, something like this should do the trick: + + find .hg -type d -name "*.[di]" -exec echo mv {} {}.hg ";" + + Run this at the top of your working dir. Take out the 'echo' once + you've confirmed it's finding the right files. + + Also note that 0.6c and older clients should be perfectly compatible + over the wire, so long as each side has the appropriate directory + naming. + + But if you use 0.6c to pull into a repo created by 0.6b with changes + that touch files in an affected directory, you're likely to have + strange behavior. + + -- Vincent Danjean Tue, 23 Aug 2005 09:55:35 +0200 --- mercurial-1.0.1.orig/debian/mercurial-common.examples +++ mercurial-1.0.1/debian/mercurial-common.examples @@ -0,0 +1,16 @@ +hgeditor +contrib/git-viz +contrib/hgdiff +contrib/hg-relink +contrib/hgsh +contrib/hg-ssh +contrib/rewrite-log +contrib/sample.hgrc +contrib/simplemerge +contrib/tcsh_completion +contrib/vim +contrib/zsh_completion +contrib/hgwebdir.fcgi +hgweb.cgi +hgwebdir.cgi + --- mercurial-1.0.1.orig/debian/hgext.rc.md5sums +++ mercurial-1.0.1/debian/hgext.rc.md5sums @@ -0,0 +1,2 @@ +4c808ced6b7ddc2e3c1514703bc238b9 0.9.5-3 +80086669df3007b5b17d7d12efe03775 sarge --- mercurial-1.0.1.orig/debian/mercurial.install +++ mercurial-1.0.1/debian/mercurial.install @@ -0,0 +1,5 @@ +debian/tmp/usr/bin +debian/tmp/usr/lib + +debian/hgext.rc usr/share/mercurial/ +debian/hgext.rc.md5sums usr/share/mercurial/ --- mercurial-1.0.1.orig/debian/mercurial-common.install +++ mercurial-1.0.1/debian/mercurial-common.install @@ -0,0 +1,8 @@ +debian/tmp/usr/lib/python2.4/site-packages/mercurial/templates usr/share/mercurial +debian/tmp/usr/lib + +contrib/mercurial.el usr/share/emacs/site-lisp +contrib/mq.el usr/share/emacs/site-lisp + +contrib/logo-droplets.svg usr/share/mercurial +contrib/hgk usr/share/mercurial/ --- mercurial-1.0.1.orig/debian/watch +++ mercurial-1.0.1/debian/watch @@ -0,0 +1,17 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 2 file +version=2 + +# Uncomment to examine a Webpage +# +#http://www.example.com/downloads.php mercurial-(.*)\.tar\.gz + +# Uncomment to examine a Webserver directory +#http://www.example.com/pub/mercurial-(.*)\.tar\.gz + +# Uncommment to examine a FTP server +http://www.selenic.com/mercurial/release/mercurial-([^s].*)\.tar\.gz --- mercurial-1.0.1.orig/debian/hgext.rc +++ mercurial-1.0.1/debian/hgext.rc @@ -0,0 +1,97 @@ +# mercurial configuration file for upstream hg extensions +# See hgrc(5) for more information + +# Extension provided by core-mercurial listed in alphabetic order +# See /usr/share/doc/mercurial/README.Debian.gz for more information +# (for example, some extensions needed other Debian packages to work) +[extensions] + +# changeset access control for mercurial +# hgext.acl = + +# allow user-defined command aliases +# hgext.alias = + +# bugzilla integration for mercurial +# hgext.bugzilla = + +# show the children of the given or working dir revision +# add the 'children' command +hgext.children = + +# create a graph showing who changed the most lines +# add the 'churn' command +hgext.churn = + +# add color output to the status and qseries commands +# hgext.color = + +# Foreign SCM converter +# add the 'convert' and 'debugsvnlog' commands +hgext.convert = + +# external diff program support for mercurial +# hgext.extdiff = + +# pull and merge remote changes +# add the 'fetch' command +hgext.fetch = + +# GnuPG signing extension for Mercurial +# add the 'sign', 'sigcheck' and 'sigs' commands +hgext.gpg = + +# ASCII graph log extension for Mercurial +# add the 'glog' command +hgext.graphlog = + +# allows browsing the history of a repository in a graphical way +# add the 'view' command +# hgext.hgk = + +# syntax highlighting in hgweb file view +# hgext.highlight = + +# lets you split a merge into pieces +# add the 'imerge' command +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 = + +# CVS/RCS-like Keyword Substitution +# hgext.keyword = + +# patch queues for mercurial +# add the 'q*' commands +hgext.mq = + +# email notifications for mercurial +# hgext.notify = + +# make it easy to refer to the parent of a revision +# hgext.parentrevspec = + +# send changes as series of email patches +# add the 'email' command +hgext.patchbomb = + +# removes files not known to mercurial +# add the 'purge' and 'clean' commands +hgext.purge = + +# interactive change selection during commit +# add the 'record' command +hgext.record = + +# Patch transplanting extension for Mercurial +# add the 'transplant' command +hgext.transplant = + +# add filters so automatically convert end-of-line between Windows and Unix +# world. +# hgext.win32text = --- mercurial-1.0.1.orig/debian/pycompat +++ mercurial-1.0.1/debian/pycompat @@ -0,0 +1 @@ +2 --- mercurial-1.0.1.orig/debian/patches/deb_specific__hgk.py.patch +++ mercurial-1.0.1/debian/patches/deb_specific__hgk.py.patch @@ -0,0 +1,13 @@ +Index: mercurial-git/hgext/hgk.py +=================================================================== +--- mercurial-git.orig/hgext/hgk.py 2008-04-06 20:08:47.000000000 +0200 ++++ mercurial-git/hgext/hgk.py 2008-04-06 20:11:03.000000000 +0200 +@@ -317,7 +317,7 @@ + "start interactive history viewer" + os.chdir(repo.root) + optstr = ' '.join(['--%s %s' % (k, v) for k, v in opts.iteritems() if v]) +- cmd = ui.config("hgk", "path", "hgk") + " %s %s" % (optstr, " ".join(etc)) ++ cmd = ui.config("hgk", "path", "/usr/share/mercurial/hgk") + " %s %s" % (optstr, " ".join(etc)) + ui.debug("running %s\n" % cmd) + util.system(cmd) + --- mercurial-1.0.1.orig/debian/patches/proposed_upstream__extension_syntax.patch +++ mercurial-1.0.1/debian/patches/proposed_upstream__extension_syntax.patch @@ -0,0 +1,14 @@ +Fix bug #447088 +Index: mercurial-0.9.5/mercurial/extensions.py +=================================================================== +--- mercurial-0.9.5.orig/mercurial/extensions.py 2007-11-02 11:49:43.000000000 +0100 ++++ mercurial-0.9.5/mercurial/extensions.py 2007-11-02 11:58:15.000000000 +0100 +@@ -29,6 +29,8 @@ + raise KeyError(name) + + def load(ui, name, path): ++ if name.startswith('hgext/'): ++ name = 'hgext.' + name[6:] + if name.startswith('hgext.'): + shortname = name[6:] + else: --- mercurial-1.0.1.orig/debian/patches/deb_specific__FAQ_subst.patch +++ mercurial-1.0.1/debian/patches/deb_specific__FAQ_subst.patch @@ -0,0 +1,7 @@ +Index: mercurial-0.8.1/doc/FAQ.txt +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ mercurial-0.8.1/doc/FAQ.txt 2006-04-10 20:26:33.000000000 +0200 +@@ -0,0 +1,2 @@ ++The mercurial FAQ is now maintained on a Wiki page. Look at the URL : ++http://www.selenic.com/mercurial/wiki/index.cgi/FAQ --- mercurial-1.0.1.orig/debian/patches/series +++ mercurial-1.0.1/debian/patches/series @@ -0,0 +1,7 @@ +proposed_upstream__python-module-not-script.patch +proposed_upstream__extension_syntax.patch +deb_specific__FAQ_subst.patch +deb_specific__use_sensible-editor.patch +deb_specific__hgk.py.patch +deb_specific__bash_completion_global_option_already_set.patch +deb_specific__ElementTree_for_darcs.patch --- mercurial-1.0.1.orig/debian/patches/deb_specific__ElementTree_for_darcs.patch +++ mercurial-1.0.1/debian/patches/deb_specific__ElementTree_for_darcs.patch @@ -0,0 +1,13 @@ +Index: mercurial-git/hgext/convert/darcs.py +=================================================================== +--- mercurial-git.orig/hgext/convert/darcs.py 2008-04-06 22:05:27.000000000 +0200 ++++ mercurial-git/hgext/convert/darcs.py 2008-04-06 22:11:01.000000000 +0200 +@@ -30,7 +30,7 @@ + checktool('darcs') + + if ElementTree is None: +- raise util.Abort(_("Python ElementTree module is not available")) ++ raise util.Abort(_("Python ElementTree module is not available. Try installing the python-elementtree Debian package to convert from darcs")) + + if not os.path.exists(os.path.join(path, '_darcs', 'inventory')): + raise NoRepo("%s does not look like a darcs repo" % path) --- mercurial-1.0.1.orig/debian/patches/proposed_upstream__python-module-not-script.patch +++ mercurial-1.0.1/debian/patches/proposed_upstream__python-module-not-script.patch @@ -0,0 +1,19 @@ +Index: mercurial-git/mercurial/lsprof.py +=================================================================== +--- mercurial-git.orig/mercurial/lsprof.py 2008-04-06 20:12:23.000000000 +0200 ++++ mercurial-git/mercurial/lsprof.py 2008-04-06 20:15:46.000000000 +0200 +@@ -1,5 +1,3 @@ +-#! /usr/bin/env python +- + import sys + from _lsprof import Profiler, profiler_entry + +Index: mercurial-git/mercurial/simplemerge.py +=================================================================== +--- mercurial-git.orig/mercurial/simplemerge.py 2008-04-06 20:12:00.000000000 +0200 ++++ mercurial-git/mercurial/simplemerge.py 2008-04-06 20:12:02.000000000 +0200 +@@ -1,4 +1,3 @@ +-#!/usr/bin/env python + # Copyright (C) 2004, 2005 Canonical Ltd + # + # This program is free software; you can redistribute it and/or modify --- mercurial-1.0.1.orig/debian/patches/deb_specific__use_sensible-editor.patch +++ mercurial-1.0.1/debian/patches/deb_specific__use_sensible-editor.patch @@ -0,0 +1,77 @@ +Index: mercurial-1.0/doc/hgrc.5.txt +=================================================================== +--- mercurial-1.0.orig/doc/hgrc.5.txt 2008-03-24 18:35:20.000000000 -0430 ++++ mercurial-1.0/doc/hgrc.5.txt 2008-03-31 19:46:08.000000000 -0430 +@@ -534,7 +534,7 @@ + debug;; + Print debugging information. True or False. Default is False. + editor;; +- The editor to use during a commit. Default is $EDITOR or "vi". ++ The editor to use during a commit. Default is $EDITOR or "sensible-editor". + fallbackencoding;; + Encoding to try if it's not possible to decode the changelog using + UTF-8. Default is ISO-8859-1. +Index: mercurial-1.0/doc/ja/hg.1.ja.txt +=================================================================== +--- mercurial-1.0.orig/doc/ja/hg.1.ja.txt 2008-03-24 18:35:20.000000000 -0430 ++++ mercurial-1.0/doc/ja/hg.1.ja.txt 2008-03-31 19:46:08.000000000 -0430 +@@ -813,7 +813,7 @@ + EDITOR:: + これは hgmerge スクリプト中で使われるエディタの名前です。もし + HGEDITOR が設定されていなければ、コミット時のメッセージに使わ +- れます。デフォルトは 'vi' です。 ++ れます。デフォルトは 'sensible-editor' です。 + + PYTHONPATH:: + これはインポートされるモジュールを見つけるために Python によっ +Index: mercurial-1.0/doc/ja/hgrc.5.ja.txt +=================================================================== +--- mercurial-1.0.orig/doc/ja/hgrc.5.ja.txt 2008-03-24 18:35:20.000000000 -0430 ++++ mercurial-1.0/doc/ja/hgrc.5.ja.txt 2008-03-31 19:46:08.000000000 -0430 +@@ -119,7 +119,7 @@ + では False です。 + editor;; + コミット中に使用するエディタです。デフォルトは $EDITOR か +- "vi" です。 ++ "sensible-editor" です。 + interactive;; + ユーザに対してプロンプトを出すようにします。True か False を取 + ります。デフォルトでは True です。 +Index: mercurial-1.0/hgeditor +=================================================================== +--- mercurial-1.0.orig/hgeditor 2008-03-24 18:35:20.000000000 -0430 ++++ mercurial-1.0/hgeditor 2008-03-31 19:46:08.000000000 -0430 +@@ -7,7 +7,7 @@ + # only for Mercurial, modify this: + case "${EDITOR}" in + "") +- EDITOR="vi" ++ EDITOR="sensible-editor" + ;; + emacs) + EDITOR="$EDITOR -nw" +Index: mercurial-1.0/mercurial/commands.py +=================================================================== +--- mercurial-1.0.orig/mercurial/commands.py 2008-03-24 18:35:20.000000000 -0430 ++++ mercurial-1.0/mercurial/commands.py 2008-03-31 19:46:08.000000000 -0430 +@@ -867,8 +867,8 @@ + editor = ui.geteditor() + cmdpath = util.find_exe(editor) or util.find_exe(editor.split()[0]) + if not cmdpath: +- if editor == 'vi': +- ui.write(_(" No commit editor set and can't find vi in PATH\n")) ++ if editor == 'sensible-editor': ++ ui.write(_(" No commit editor set and can't find sensible-editor in PATH\n")) + ui.write(_(" (specify a commit editor in your .hgrc file)\n")) + else: + ui.write(_(" Can't find editor '%s' in PATH\n") % editor) +Index: mercurial-1.0/mercurial/ui.py +=================================================================== +--- mercurial-1.0.orig/mercurial/ui.py 2008-03-24 18:35:21.000000000 -0430 ++++ mercurial-1.0/mercurial/ui.py 2008-03-31 19:50:26.000000000 -0430 +@@ -483,4 +483,4 @@ + return (os.environ.get("HGEDITOR") or + self.config("ui", "editor") or + os.environ.get("VISUAL") or +- os.environ.get("EDITOR", "vi")) ++ os.environ.get("EDITOR", "sensible-editor")) --- mercurial-1.0.1.orig/debian/patches/deb_specific__bash_completion_global_option_already_set.patch +++ mercurial-1.0.1/debian/patches/deb_specific__bash_completion_global_option_already_set.patch @@ -0,0 +1,13 @@ +Index: mercurial-0.9.5/contrib/bash_completion +=================================================================== +--- mercurial-0.9.5.orig/contrib/bash_completion 2007-11-02 11:52:49.000000000 +0100 ++++ mercurial-0.9.5/contrib/bash_completion 2008-01-21 21:37:44.000000000 +0100 +@@ -52,8 +52,6 @@ + # 0 otherwise + # + +-shopt -s extglob +- + _hg_commands() + { + local commands