Mercurial 2.0 (2011-11-01)#

Mercurial 2.0.2 (2012-01-01)#

This is a regularly-scheduled bug-fix release.

  • alias: shortcut command matching so shadowing works properly (issue3104)

  • branch: warn on branching

  • changelog: handle decoding of NULs in extra more carefully (issue3156)

  • convert: improve exception reporting for SVN logstream

  • diff: don't crash when diffing a revision with a deleted subrepo (issue3153)

  • fetch: fix unneeded commit when no merge attempted (issue2847)

  • fetch: patch cornercase in children calculation (issue2773)

  • largefiles: copy files in binary mode (issue3164)

  • largefiles: don't require a user cache (issue3088) (issue3155)

  • largefiles: fix 'hg status' abort after merge

  • largefiles: handle merges between normal files and largefiles (issue3084)

  • merge: check filename case collision between changesets for branch merging

  • pathauditor: switch normcase logic according to case sensitivity of filesystem

  • progress: check for ui.quiet and ui.debugflag before we write

  • rollback: always call destroyed() (regression from 1.9)

  • util: fix url.__str__() for windows file URLs

  • windows: use upper() instead of lower() or os.path.normcase()

Mercurial 2.0.1 (2011-12-01)#

This is a regularly-scheduled bug-fix release.

  • alias: shortcut command matching show shadowing works properly (issue3104)

  • bundlerepo: don't write branch cache to disk

  • clone: don't save user's password in .hg/hgrc (issue3122)

  • convert/bzr: correctly handle divergent nested renames (issue3089)

  • convert/bzr: fix test of divergent nested renames for bzr 1.x

  • convert/svn: fix URL quoting issue with svn 1.7

  • convert: handle trailing slashes in filemap better (issue3124)

  • diff: '\ No newline at end of file' is also not part of the header

  • diff: --ignore-blank-lines was too enthusiastic

  • dirstate: fix case-folding identity for traditional Unix

  • graft: disallow grafting grafted csets in specific situations (issue3091)

  • graft: preserve original source in subsequent grafts

  • hook: flush stdout before redirecting to stderr

  • import: fix parent selection when importing merges

  • largefiles: ensure destination directory exists before findfile links to there

  • largefiles: file storage should be relative to repo, not relative to cwd

  • largefiles: fix 'hg clone . ../foo' OSError abort

  • largefiles: fix rename (issue3093)

  • largefiles: treat status of cache missed largefiles as "missing" correctly

  • largefiles: use "ui.configlist()" to get largefiles.patterns configuration

  • largefiles: write .hg/largefiles/ files atomically

  • makedate: wrong timezone offset if DST rules changed this year (issue2511)

  • mdiff/patch: fix bad hunk handling for unified diffs with zero context

  • posix: add extended support for OS X path folding

  • posix: fix findexe() to check for file type and access

  • rebase: ensure target is not taken as external (issue3085)

  • rebase: treat nullmerge as a special case in rebasestate (issue3046)

  • revset: balance %l or-expressions (issue3129)

  • revset: follow(nosuchfile) should give an empty set (issue3114)

  • subrepo: fix git status false positive (issue3109)

  • subrepo: use correct paths for subrepos with ..-relative paths on windows

  • update: don't clobber untracked files with wrong casing

  • url: handle file://localhost/c:/foo "correctly"

Mercurial 2.0 (2011-11-01)#

This is a regularly-scheduled feature release. See UpgradeNotes for some minor compatibility notes.

Major features#

  • New core Cmd:graft command (similar to transplant extension)

  • New largefiles extension

Core changes#

  • commit: abort when there are uncommitted subrepos, use the -S option to recurse

  • help: most commands now have usage examples with help -v

  • import: add --edit switch

  • revset: add more keywords for bisection

  • revert: introduce short option -C for --no-backup

  • log: add new 'bisect' style that prints the bisection status

  • hgweb: add a "web/logoimg" setting to customize the web logo image

  • subrepo: pull revisions on demand when archiving hg subrepos

Extension changes#

  • color: add styles for tags

  • convert: added bookmarks support in filemap

  • eol: add new eol.fix-trailing-newline setting

  • eol: eol.only-consistent can now be specified in .hgeol

  • export: add %m to file format string (first line of the commit message)

  • mq: make qqueue print current queue name

  • rebase: add --edit switch

  • rebase: add --rev option to rebase

  • rebase: allow rebase on ancestor

  • share: introduce unshare command

  • transplant: add --edit option

Bug fixes#

  • alias: don't shadow commands that we only partially matched (issue2993) (BC)

  • commit: suppress spurious new head message for duplicate commit (issue2893)

  • contrib: some support for named branches in zsh_completion (issue2988)

  • progress: add a changedelay to prevent parallel topics from flapping (issue2698)

  • rebase: allow rebase to ancestor (issue3010)

  • rollback: avoid unsafe rollback when not at tip (issue2998)

  • subrepo: fix git branch tracking logic (issue2920)

  • subrepo: fix repo relative path calculation for root directories (issue3033)

  • summary: show bookmarks separate from tags and note active mark (issue2892)

  • util: wrap lines with multi-byte characters correctly (issue2943)

  • verify: filter messages about missing null manifests (issue2900)

  • wireproto: do not call pushkey module directly (issue3041)

  • auth: fix realm handling with Python < 2.4.3 (issue2739)

  • diffstat: be more picky when marking file as 'binary' (issue2816)

  • dirstate: don't fail when dropping a not-tracked file (issue3080)

  • grep: correct handling of matching lines without line ending (issue3050)

  • hgweb: fix dynamic date calculation not working under Safari

  • mq: avoid data loss upon qfold + qmv (issue3058)

  • setup: set whole env for running hg even if .hg doesn't exist (issue3073)

  • windows: recompute flags when committing a merge (issue1802)

  • windows: sanity-check symlink placeholders