Commit Graph

1535 Commits

Author SHA1 Message Date
Benoit Boissinot
27f31c20c2 revert added and removed files to their normal state before reverting
add a test for revert
2005-10-25 15:51:28 -07:00
michael.w.dales@intel.com
287b19a2a6 Fixed problem with invoking hgmerge on paths with spaces. 2005-10-24 14:54:17 -07:00
Benoit Boissinot
abe08fd52f refactor some unlink/remove code and make sure we prune empty dir 2005-10-19 00:10:52 -07:00
Benoit Boissinot
06e39e559b i18n part2: use '_' for all strings who are part of the user interface 2005-10-18 18:38:39 -07:00
Benoit Boissinot
e38e94088a i18n first part: make '_' available for files who need it 2005-10-18 18:37:48 -07:00
Vadim Gelfer
e3b07ee274 make update quieter when nothing is wrong
sometimes when i am going around in my history, i get long lists of
errors from the update command. this patch will fix that. i tried to
make the code style the same like the rest of the code.
2005-10-18 17:56:50 -07:00
Eric Hopper
48faa1f6b7 Added a lot of comments to changegroupsubset. 2005-10-11 18:56:47 -07:00
Eric Hopper
34c677ab49 Fixed silly bug involving a non-existent variable. 2005-10-11 08:06:52 -07:00
Eric Hopper
4199f83ee4 Optimizing manifest reads in changegroupsubset by using deltas. 2005-10-10 08:36:29 -07:00
Eric Hopper
562c59eb23 Implementing clone -r, which clones all changesets needed to reach a
particular revision.
2005-10-07 19:51:09 -07:00
Eric Hopper
4fccdfbdb3 Bug fixing in localrepository.changegroupsubset. Bugs found in testing. 2005-10-07 19:49:25 -07:00
Eric Hopper
c37e9139de This changes the revlog.group and re-implements the localrepo.changeroup
function in terms of it.

revlog.group now takes a list of nodes, and some callback functions
instead of a linkmap.
2005-10-07 10:57:11 -07:00
Eric Hopper
5a71dabdfe This implements the nodesbetween method, and it removes the newer method
and replaces it with calls to nodesbetween.
nodesbetween calculates all the changesets needed to have a complete
revision graph between a given set of base nodes and a given set of
head nodes.
2005-10-07 10:48:27 -07:00
Matt Mackall
66b0e1b6cd hg verify: add some bin to hex conversions 2005-10-05 10:59:42 -07:00
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