Commit Graph

371 Commits

Author SHA1 Message Date
Matt Mackall
f2002c74d9 hg verify: add an error reporting helper function 2005-10-05 10:51:02 -07:00
Matt Mackall
6220ec3bd4 hg verify: more consistency checking between changesets and manifests 2005-10-05 10:37:51 -07:00
Benoit Boissinot
983c46eccb Fix traceback when nothing was added during unbundle
The changegroup and commit hook are now run only when
something is modified.
The correct number of changesets added is printed.
2005-10-03 14:45:14 -07:00
Eric Hopper
7adbcb61af Fix misleading abort message when permissions are bad. 2005-09-27 14:58:28 -07:00
Matt Mackall
e8dcbe0384 More info on file merge for update --debug 2005-09-26 14:01:05 -07:00
mpm@selenic.com
f9a0fe102d Execute hooks in the repository root 2005-09-23 19:46:12 -07:00
mpm@selenic.com
49021bbf3c Hook fixups
Pass the first new changeset node to the changegroup hook
Call commit for each changeset in a pull changegroup
Improve hook docs
2005-09-22 10:12:42 -07:00
mpm@selenic.com
321dbee651 pull/unbundle: raise an exception on premature EOF 2005-09-20 10:45:26 -07:00
mpm@selenic.com
8f5897184a hgweb: use ui:username rather than web:contact
This also removes the creation of .hg/hgrc with web:contact at init time.
2005-09-15 14:05:48 -05:00
mpm@selenic.com
eac251ef7c Add file encoding/decoding support 2005-09-15 02:59:16 -05:00
mpm@selenic.com
1572c012c2 Fix bug with co -C across branches, update tests 2005-09-13 18:38:27 -05:00
mpm@selenic.com
74b4fbfc7a Revert unrelated changes in previous commit 2005-09-13 14:22:48 -05:00
mpm@selenic.com
5b149d41a6 Fix abort message for clone 2005-09-13 14:18:18 -05:00
Eric Hopper
6b43642f9a Created a class in util called chunkbuffer that buffers reads from an
iterator over strings (aka chunks).

Also added to util (for future use) is a generator function that
iterates over a file n bytes at a time.

Lastly, localrepo was changed to use this new chunkbuffer class when
reading changegroups form the local repository.
2005-09-04 14:11:51 -07:00
Thomas Arendsen Hein
c07446d134 Create [web] section with short username as contact on hg init and hg clone. 2005-08-28 18:27:24 +02:00
mpm@selenic.com
7f0689647a fix some rename/copy bugs
- delete copy information when we update dirstate

  hg was keeping the copy state and marking things as copied on
  multiple commits

- files that are renamed should have no parents

  if you do a rename/copy to an existing file, it should not be marked
  as descending from its previous revisions.

- remove spurious print from filelog.renamed

- add some more copy tests
2005-08-27 22:04:17 -07:00
mpm@selenic.com
e6e4ecb803 localrepo: minor opener usage restructuring 2005-08-27 16:34:54 -07:00
mpm@selenic.com
f1273ca2af Separate out old-http support
- create new statichttprepo class
- pull remote bits out of localrepo
- pull remote bits out of util.opener
- switch hg.repository to use statichttprepo
2005-08-27 16:28:53 -07:00
mpm@selenic.com
a40dc19739 localrepo: more import/namespace tidying 2005-08-27 15:35:37 -07:00
mpm@selenic.com
7e0f622206 localrepo: adjust some imports, remove sys dependency 2005-08-27 15:09:46 -07:00
mpm@selenic.com
e175fdde9b Break apart hg.py
- move the various parts of hg.py into their own files
- create node.py to store node manipulation functions
2005-08-27 14:21:25 -07:00