Skip to content
Snippets Groups Projects
  1. Nov 10, 2007
    • Patrick Mezard's avatar
      Change standard streams mode to binary at hg startup · a3fe91b4f6eb
      Patrick Mezard authored
      Standard streams are expected to operate in binary mode everywhere, especially with archive, cat, diff and export commands. Rewriting these to separate informational output from binary content is complicated to do and to maintain, nonwithstanding mode switching reliability. Changing all output mode to binary should not have much impact on Windows were stream processing tools are barely used and usually cope with unix style endings.
      
      Streams mode being process wide, the switch is performed in the startup script to avoid polluting existing API users who may have solved this issue already or ignored it at least for the mercurial part.
      a3fe91b4f6eb
  2. Aug 18, 2007
  3. Aug 15, 2007
  4. Jun 19, 2007
  5. Dec 13, 2006
  6. Feb 06, 2006
  7. Jun 29, 2005
    • mpm's avatar
      Whitespace cleanups · 03f27b1381f9
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Whitespace cleanups
      
      manifest hash: ac954bc3a4f034c12638a259ecd65841f5b63c5c
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCwuubywK+sNU5EO8RAluIAJ98XQpNdZUpSmYKgDmrMRlbL76ZzQCfes0t
      rknNUN/PhtyA4bzL646dOz4=
      =UyCE
      -----END PGP SIGNATURE-----
      03f27b1381f9
  8. Jun 24, 2005
    • mpm's avatar
      Release tweaks · 12e0fdbc57a0
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Release tweaks
      
      manifest hash: ded5f9b4432ab05c28d6e0ca56adbf3d14b8e6f6
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCvGzZywK+sNU5EO8RAlzYAJ4ix4F5cKYXBo8L6UwwZJbnZa7RpgCgme9H
      ByLO3Pcf9RSmQEO6vxYfuLs=
      =7fKS
      -----END PGP SIGNATURE-----
      0.6
      12e0fdbc57a0
  9. Jun 08, 2005
    • mpm's avatar
      Mark the usual things executable · a69c3b2957d1
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Mark the usual things executable
      
      manifest hash: e55dde46fd1a97ce338c1ac71278b67ca9d96bf7
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCpz5RywK+sNU5EO8RAnypAJwLpjrQ09nMSJUELtCondHI0fvuVACfQu2J
      mFi9D3L9ULGO457NWB4h3kY=
      =3bcD
      -----END PGP SIGNATURE-----
      a69c3b2957d1
  10. Jun 04, 2005
    • mpm's avatar
      import and startup cleanups · 619e775aa7f9
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      import and startup cleanups
      
      add commands:run()
      add copyright notice to commands
      eliminate/reorganize imports to speed up start time:
      
      0.5b:
      $ time bash -c 'for i in `seq 100`; do ~/bin/hg > /dev/null; done'
      
      real    0m7.718s
      user    0m6.719s
      sys     0m0.794s
      
      new:
      
      $ time bash -c 'for i in `seq 100`; do hg > /dev/null; done' 
      real    0m2.171s
      user    0m1.684s
      sys     0m0.444s
      
      just python:
      
      $ time bash -c 'for i in `seq 100`; do python -c pass; done' 
      real    0m0.988s
      user    0m0.771s
      sys     0m0.207s
      
      Ignoring the fixed cost of loading the Python interpreter, we're 5.6
      times faster. With the Python load time, we're still 3.5 times faster.
      
      manifest hash: acce5882a55c76eb165316f5741724c8ce4ef587
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCoihAywK+sNU5EO8RAqMdAJwMe6Ur0R9G6jjayNa5hH2C3c4k/gCeIYvc
      N178vaWWGciX9zq+g5qCAls=
      =buhv
      -----END PGP SIGNATURE-----
      619e775aa7f9
    • mpm's avatar
      migrate remaining commands · b7645b3c86ff
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      migrate remaining commands
      
      This removes basically everything from the top-level hg script
      
      manifest hash: 34883e89d8def30e28936b38a9342d2f650f4c94
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCoiD7ywK+sNU5EO8RAh0cAKCeOO9vahYs0tGmMNKk8bflw35p2wCgr6Wr
      y0SNLHSVBMCzXtC9zlfDPog=
      =3nJx
      -----END PGP SIGNATURE-----
      b7645b3c86ff
    • mpm's avatar
      migrate verify · 863b508c5b36
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      migrate verify
      
      Move the bulk of the verify code into the localrepository class and move
      the command into commands.py
      
      manifest hash: 793a8d0094d56ab0a411cd11d7fe7f39c923f209
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCog33ywK+sNU5EO8RApfBAJ4mCmiMmZE1fEfbR6sA+aP1csPvqQCfXHzY
      3XK7yc19AivXf5HGKEOL3eM=
      =GISf
      -----END PGP SIGNATURE-----
      863b508c5b36
    • mpm's avatar
      Migrate rawcommit, import, export, history, and merge · 96cde50a746f
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Migrate rawcommit, import, export, history, and merge
      
      manifest hash: f932108ee40e34b460e94b6fe60d6a06ac9f760c
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCoguVywK+sNU5EO8RAtohAKCe9Qr5R+YeLRluJlTxRGrJW/nnoQCfW/+F
      I0BSOeNpb6jdUxTZY1jV0xo=
      =hNXm
      -----END PGP SIGNATURE-----
      96cde50a746f
    • mpm's avatar
      big heap of command clean-up work · fef0f8e041aa
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      big heap of command clean-up work
      
      Migrate add, forget, remove, commit, diff, addremove, tip, log,
      recover, and serve.
      
      Fix up filterfiles, relfilter, and relpath to be a bit more bulletproof
      
      Alphabetize functions and the command table
      
      Make everything in commands.py relative-path aware
      
      manifest hash: f0856031a7be4e49289677b467f29bcf24ebce4a
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCof6gywK+sNU5EO8RAoW1AJsHu8vchPSjls7wVbvsq/UKlGhqtgCgtnnl
      xSBxyf/TEVWjHIk3uTa8WSE=
      =YPMl
      -----END PGP SIGNATURE-----
      fef0f8e041aa
    • mpm's avatar
      Resolve bits from TAH · afe895fcc0d0
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Resolve bits from TAH
      
      manifest hash: dc639d419de857b22da9f707cbb557c328eb12f5
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCoRIaywK+sNU5EO8RAswQAKCiEcQ5RV3C2JZXgQBch28VO3NpSgCdEzcD
      Td8bV8IKVUIXtvrcy1rCZTY=
      =tAU7
      -----END PGP SIGNATURE-----
      afe895fcc0d0
  11. Jun 03, 2005
    • mpm's avatar
      Merge from tah · 4f802588cdfb
      mpm authored
      4f802588cdfb
    • mpm's avatar
      make diffdir default to dirstate.parents() · 00ea3613f82c
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      make diffdir default to dirstate.parents()
      
      update various diffdir users to use default
      
      manifest hash: aeca2b9da1aca278dd5e3f27cc2906667803577d
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCoMPcywK+sNU5EO8RAkY8AJ90UHQXnJnkG9PJKG7IsgPeOZ2WZACgiarS
      HhS2zX3TRM9WdZHo5nLvZGw=
      =7YyP
      -----END PGP SIGNATURE-----
      00ea3613f82c
    • mpm's avatar
      move repo.current to dirstate.parents() · f57519cddd3d
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      move repo.current to dirstate.parents()
      
      dirstate now tracks the parents for the working dir
      add a parents command to show them
      
      manifest hash: cd69237838c3f69f7937723c4a6803d47cb27cfa
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCoMGuywK+sNU5EO8RAg5UAKCVLUrsJtkoIOTM+e0BLqEVN3Ni3gCeNDyy
      ZF8jD728cl9K7S4sIN4gX4Y=
      =P4bu
      -----END PGP SIGNATURE-----
      f57519cddd3d
    • mpm's avatar
      merge: don't bail on outstanding changes · 1536ccac47e9
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      merge: don't bail on outstanding changes
      
      With multiple heads, we don't need to worry about the working dir's
      uncommitted changes at pull time
      
      manifest hash: 5b4e024f220fa616732310ce5f48e71abfa910e0
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCoMFQywK+sNU5EO8RApLyAKCoNDF84wFzgnpS+WLuXdkGxeHFPwCdFsMy
      CysB458dNcFuB/vDFhgJr58=
      =gG+u
      -----END PGP SIGNATURE-----
      1536ccac47e9
    • mpm's avatar
      fix bad assumption about uniqueness of file versions · ccbcc4d76f81
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      fix bad assumption about uniqueness of file versions
      
      Mercurial had assumed that a given file hash could show up in only one
      changeset, and thus that the mapping from file revision to changeset
      was 1-to-1. But if two people perform the same edit with the same
      parents, we can get an identical hash in different changesets.
      
      So we've got to loosen up our uniqueness checks in addgroup and in
      verify.
      
      manifest hash: 5462003241e7d071ffa1741b87a59f646c9988ed
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCoMDkywK+sNU5EO8RAg9PAJ9YWSknfFBoeYve/+Z5DDGGvytDkwCgoMwj
      kT01PcjNzGPr1/Oe5WRvulE=
      =HC4t
      -----END PGP SIGNATURE-----
      ccbcc4d76f81
    • mpm's avatar
      change dircache into dirstate · 3113a94c1bff
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      change dircache into dirstate
      
      The dircache now tracks adds and removes directly
      
      diffdir now makes a proper distinction between added and unknown files
      
      Add a forget command to unadd files
      
      Undo tries to fix up the state of just the files in the undone commit
      
      Add and remove complain about files that are not in a proper state of
      existence
      
      
      manifest hash: ca0cd6abc5e119670acf11a54fefa2bc986eadf3
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCn7TRywK+sNU5EO8RAhnSAKC2oHg1HJOCGsvpUYj4SBEq0HmuJQCgr5gl
      jEBTs5AFD5IhF73YAgrcnkE=
      =prQA
      -----END PGP SIGNATURE-----
      3113a94c1bff
  12. Jun 02, 2005
    • mpm's avatar
      hg checkout: refuse to checkout if there are outstanding changes · 8ff4532376a4
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      hg checkout: refuse to checkout if there are outstanding changes
      
      This is a stop-gap until I make the working dir logic smarter
      
      manifest hash: a3f6adcb7eecec294000039057d59771958f4186
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCnnrKywK+sNU5EO8RAtqBAJwPQQrW5GhjMP9HMkFtfD7qhqxIcgCfXvA4
      oXHO13uzBn5JOaTH3KwsMbQ=
      =IzTY
      -----END PGP SIGNATURE-----
      8ff4532376a4
  13. Jun 01, 2005
    • mpm's avatar
      commands: migrate status and branch · d2172916ef6c
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      commands: migrate status and branch
      
      manifest hash: 7d893a81a81539173fc74d86152062a1a70bed13
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCnhESywK+sNU5EO8RAlBJAKCmv2gHefMOXfX/UUCy1tfV0cOqOQCfbeX8
      oaT15B7GBL2lcalGrPXkzY8=
      =8gVe
      -----END PGP SIGNATURE-----
      d2172916ef6c
    • mpm's avatar
      hg undo: fixup working dir state · d2badbd7d1ad
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      hg undo: fixup working dir state
      
      manifest hash: 60fd7a5621f7c4e87c7c36097aaf11b22e7ee0b4
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCngETywK+sNU5EO8RAiC/AKChvIgy61YfOLJcTQg5BKkTLLErRgCgnJMr
      +xb+XsjeNfK+83MzeuE8UOk=
      =EIlj
      -----END PGP SIGNATURE-----
      d2badbd7d1ad
    • mpm's avatar
      Beginning of new command parsing interface · 63af1db35611
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Beginning of new command parsing interface
      
      This adds commands.py, with a primary interface dispatch(args)
      
      Dispatch searches a table of known commands, handles switches, sets up
      a repo object if appropriate, and dispatches the command.
      
      It also handles KeyboardInterrupt and can handle similar exceptions in
      the future.
      
      If the command is unknown, it falls through to the current command handler.
      
      Commands currently handled by the new scheme: help, init, and annotate
      
      manifest hash: 134cd032c880985e3f92f82efb8b629dd862ba4c
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCnXEGywK+sNU5EO8RAuDAAJ9q7K4w7qGVWv1NWjCPFGO/UJc6VQCdEhMQ
      sBBlSRzah9QPy8K94catZyg=
      =wuRf
      -----END PGP SIGNATURE-----
      63af1db35611
    • mpm's avatar
      Move ui class to its own module · ec327cf0d3a9
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Move ui class to its own module
      
      manifest hash: f75c8f9cdfe16f143ab633d0072c14ba88ac88be
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCnVxxywK+sNU5EO8RAgPgAJ48p7w4Do/saCC8WkBvHj/rdnoiEgCgrSs9
      Wu1fOSgST3rn/2JpZAdFRdA=
      =91tt
      -----END PGP SIGNATURE-----
      ec327cf0d3a9
    • mpm's avatar
      hg: don't complain about missing repo with no args · 3295b6b508de
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      hg: don't complain about missing repo with no args
      
      manifest hash: d8172c0b583d6f2ff60cf49e74c1247de8d9d673
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCnVmeywK+sNU5EO8RAj79AJ4wN1SwC8+e1amxv+EAd6VKhpXXYgCeIPDK
      iVX9Z0Ix8DiC3p8fquyhFwM=
      =c6EH
      -----END PGP SIGNATURE-----
      3295b6b508de
    • mpm's avatar
      hg rawcommit command · 0b486b5e0796
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      hg rawcommit command
      
      From: Christopher Li <hg@chrisli.org>
      
      This allows direct access to the commit command, primarily for
      importing from other SCMs.
      
      manifest hash: bea39fa8207582c9fa7ba0904721eb5113c61cf4
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCnUinywK+sNU5EO8RAhWqAJ9PiafRbfEIA3VsO07BbGZr5adNvgCfT2k7
      blYTdkrIiRzzCxn6yPq8Yu4=
      =o8k0
      -----END PGP SIGNATURE-----
      0b486b5e0796
  14. May 30, 2005
    • mpm's avatar
      hgweb: fix tip so that it doesn't need refreshing · c88ef31fb5c0
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      hgweb: fix tip so that it doesn't need refreshing
      
      manifest hash: 5bf1837a29c5612872ab206053f9d15e899e3664
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCm1mhywK+sNU5EO8RAjdQAKCLrRFv2/rfHYNI2tFvF5HKINaTjQCfRhxo
      ca39aZ0SaNeCBqc1nMPOTcw=
      =4pHG
      -----END PGP SIGNATURE-----
      c88ef31fb5c0
    • jake's avatar
      add export, recover, and undo to the man page · 48827121af7e
      jake authored
      add export to hg help
      48827121af7e
    • mpm's avatar
      Bump the version number to 0.5b for the protocol change · 0a28dfe59f8f
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Bump the version number to 0.5b for the protocol change
      
      manifest hash: a7930fa15b716eb90613bd761b47c27331ea4b8b
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCmz7pywK+sNU5EO8RAt7dAJ4qmUpDRS7/JP/JpLm8uXZ0c+5W/ACfVb0Q
      99rjYslSjJfOWYLCKiAzVyU=
      =WVVg
      -----END PGP SIGNATURE-----
      0.5b
      0a28dfe59f8f
    • mpm's avatar
      Changes to network protocol · 5d8553352d2e
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Changes to network protocol
      
      Stream changes at the delta level rather than at whole delta groups
       this breaks the protocol - we now send a zero byte delta to indicate
       the end of a group rather than sending the entire group length up front
      Fix filename length asymmetry while we're breaking things
      Fix hidden O(n^2) bug in calculating changegroup
       list.append(e) is O(n), list + [element] is not
      Decompress chunks on read in revlog.group()
      Improve status messages
       report bytes transferred
       report nothing to do
      Deal with /dev/null path brokenness
      Remove untriggered patch assertion
      
      manifest hash: 3eedcfe878561f9eb4adedb04f6be618fb8ae8d8
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCmzlqywK+sNU5EO8RAn0KAJ4z4toWSSGjLoZO6FKWLx/3QbZufACglQgd
      S48bumc++DnuY1iPSNWKGAI=
      =lCjx
      -----END PGP SIGNATURE-----
      5d8553352d2e
  15. May 28, 2005
    • mpm's avatar
      Mercurial 0.5 · f40273b0ad7b
      mpm authored
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1
      
      Mercurial 0.5
      
      Update version numbers
      Fixup MANIFEST.in
      
      manifest hash: 58db9be35685e83133f20e96265d6c434fc106c2
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.0 (GNU/Linux)
      
      iD8DBQFCmOwHywK+sNU5EO8RAq0OAKCkMWzSMzhisTFBmT2WLj2bf+PMqwCbBv+S
      jNvqIQsru2JMdCQC2eG7CxU=
      =c20j
      -----END PGP SIGNATURE-----
      0.5
      f40273b0ad7b
  16. May 27, 2005
  17. May 26, 2005
  18. May 25, 2005
Loading