Differences between revisions 14 and 21 (spanning 7 versions)
Revision 14 as of 2006-12-10 19:27:27
Size: 3199
Editor: 10
Comment:
Revision 21 as of 2011-03-28 21:47:31
Size: 1886
Editor: tonfa
Comment: change link
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Email: [[MailTo(bboissin AT SPAMFREE gmail DOT com)]] Email: <<MailTo(bboissin AT SPAMFREE gmail DOT com)>>
Line 7: Line 7:
Mercurial repository at : http://hg.intevation.org/mercurial/tonfa Personal website: http://bboissin.appspot.com

Mercurial repository at: http://hg.intevation.org/mercurial/tonfa and http://bitbucket.org/bboissin/
Line 17: Line 19:
= Release notes =
Available at:
= API some people care about =
Line 20: Line 21:
 http://selenic.com/mercurial/release

More information at:

 http://selenic.com/mercurial

Major changes between Mercurial 0.9.1 and 0.??:

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 now 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 entire 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`

New hooks added:

Behaviour 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

Memory usage and performance improvements:

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
 * larger and

Other changes of note:
 * HG_MERGE_NEEDED_ERR = "(run 'hg heads' to see heads, 'hg merge' to merge)";
 * HG_MERGE_CONFLICT_ERR = "conflicts detected in ";
 * HG_MERGE_MULTIPLE_HEADS_ERR = "abort: repo has ";
 * HG_MERGE_UNCOMMITTED_ERR = "abort: outstanding uncommitted merges";
 * HG_CREATE_NEW_BRANCH_ERR = "abort: push creates new remote branches!";
 * HG_HEADS_CREATED_ERR = "(+1 heads)";
 * HG_NO_REPOSITORY_ERR = "abort: There is no Mercurial repository here";
 * HG_UPDATE_SPAN_BRANCHES_ERR = "abort: update spans branches";
 * HG_ALREADY_TRACKED_ERR = " already tracked!";
 * HG_NOT_TRACKED_ERR = " no tracked!";
 * HG_NOT_FOUND_ERR = "not found!";
 * HG_CANNOT_READ_COMMIT_MESSAGE_ERR = "abort: can't read commit message";
 * HG_UNABLE_EXECUTE_COMMAND_ERR = "unable to execute hg command";
 * HG_UNABLE_CLONE_ERR = "abort: destination ";
 * HG_NODE_NAME_ERR = "abort: node name or service name not known";
 * HG_NO_CHANGE_NEEDED_ERR = "no change needed";
 * HG_NO_ROLLBACK_ERR = "no rollback information available";

Benoit Boissinot

Email: <bboissin AT SPAMFREE gmail DOT com>

Personal website: http://bboissin.appspot.com

Mercurial repository at: http://hg.intevation.org/mercurial/tonfa and http://bitbucket.org/bboissin/

notes to self:

  • want to add the parent in dirstate (so that localrepo.changes doesn't report modified after a merge)
  • want to add the base in changegroup (so that full revision can be inserted)

IDEAS

  • Get rid of metadatas in manifest, put them in the filelog (like copies). It makes sense because each change to a file should be reflected at the filelog level.
  • add a delete entry in the filelog and add it to the manifest (that way we know when the head is removed, and 'hg log filename' will show the deletion)

API some people care about

  • HG_MERGE_NEEDED_ERR = "(run 'hg heads' to see heads, 'hg merge' to merge)";
  • HG_MERGE_CONFLICT_ERR = "conflicts detected in ";
  • HG_MERGE_MULTIPLE_HEADS_ERR = "abort: repo has ";
  • HG_MERGE_UNCOMMITTED_ERR = "abort: outstanding uncommitted merges";
  • HG_CREATE_NEW_BRANCH_ERR = "abort: push creates new remote branches!";
  • HG_HEADS_CREATED_ERR = "(+1 heads)";
  • HG_NO_REPOSITORY_ERR = "abort: There is no Mercurial repository here";
  • HG_UPDATE_SPAN_BRANCHES_ERR = "abort: update spans branches";
  • HG_ALREADY_TRACKED_ERR = " already tracked!";
  • HG_NOT_TRACKED_ERR = " no tracked!";
  • HG_NOT_FOUND_ERR = "not found!";
  • HG_CANNOT_READ_COMMIT_MESSAGE_ERR = "abort: can't read commit message";
  • HG_UNABLE_EXECUTE_COMMAND_ERR = "unable to execute hg command";
  • HG_UNABLE_CLONE_ERR = "abort: destination ";
  • HG_NODE_NAME_ERR = "abort: node name or service name not known";
  • HG_NO_CHANGE_NEEDED_ERR = "no change needed";
  • HG_NO_ROLLBACK_ERR = "no rollback information available";


CategoryHomepage

tonfa (last edited 2011-03-28 21:47:31 by tonfa)