Commit Graph

19479 Commits

Author SHA1 Message Date
Danek Duvall
304927ff96 solaris: sed doesn't recognize a line without a newline 2013-08-23 16:05:38 -07:00
Danek Duvall
dd1467f6d7 solaris: test cases can't use grep -a
The -a option to GNU grep isn't available when using Solaris grep.  Replace
the one use of grep -a in the testsuite with some in-line Python that does
the equivalent, and add a check for grep -a in check-code.py.
2013-08-23 14:31:42 -07:00
Wojciech Lopata
3a79365ccc revlog: pass node as an argument of addrevision
This change will allow revlog subclasses that override 'checkhash' method
to use custom strategy of computing nodeids without overriding 'addrevision'
method. In particular this change is necessary to implement manifest
compression.
2013-08-19 11:25:23 -07:00
Wojciech Lopata
299c718f66 revlog: extract 'checkhash' method
Extract method that decides whether nodeid is correct for paricular revision
text and parent nodes. Having this method extracted will allow revlog
subclasses to implement custom way of computing nodes. In particular this
change is necessary to implement manifest compression.
2013-08-19 11:06:38 -07:00
FUJIWARA Katsunori
08d72f6934 histedit: discard meaningless comment about 'hexlify node'
Refactoring in c253d4a7ab54 made this comment meaningless. The node
gotten by "discovery.findcommonoutgoing()" is hexlified in "between()"
by "repo.set('%n::%n', old, new)".
2013-08-26 16:11:21 +09:00
FUJIWARA Katsunori
61c090bc67 histedit: add description about "histedit --outgoing" to command help
Before this patch, there is no explicit description that argument is
treated as the URL of the destination repository when "--outgoing" is
specified.

This patch adds description about "histedit --outgoing" to command
help of it.
2013-08-26 16:11:21 +09:00
FUJIWARA Katsunori
0d68f18089 histedit: add description about basic histedit function to command help
Before this patch, there is no explicit description that histedit
edits changesets between specified ancestor and the parent of the
working directory: users may notice it by error message "REV is not an
ancestor of working directory".

This patch adds description about basic histedit function to command
help of it.

This patch uses term "ancestor" instead of "parent", because it seems
to be more suitable, and almost all (error) messages already use it.
2013-08-26 16:11:21 +09:00
Augie Fackler
16812584f2 httpclient: import 0d1b0a8bc549 to fix bug involving late-arriving RST after a response
After a day of hunting this defect, I'm now unable to reproduce the
bug without this patch applied. Regardless, this should fix the
problem I was observing with wireshark. Hopefully this fixes any
flakiness in the buildbot from http2.
2013-08-23 16:16:22 -04:00
Augie Fackler
3aa5f557a5 progress: stop getting stuck in a nested topic during a long inner step
Convert, for example, has loops like this:
for revision in source_repo:
  progress(revisions)
  for file in revision:
    progresss(file)

Prior to this change, we would start showing the file-level progress
when we encountered a big revision, and then we'd get stuck in showing
file-progress instead of revision progress, often producing many many
instantly-completing progress bars rather than the actually-helpful
top-level revisions bar.
2013-08-23 13:28:18 -04:00
Augie Fackler
2ae3ed4f92 Backed out changeset c65cc2c5ce84 2013-08-15 21:36:53 -04:00
Jeff Sickel
f414ef5bee hgrc.d: separate namespace for mercurial scripts 9diff and 9mail 2013-08-15 21:35:56 -04:00
Matt Mackall
1e6f803e48 debugfs: add hardlink support reporting 2013-08-14 12:42:22 -05:00
Dan Villiom Podlaski Christiansen
3f40ec5e82 obsolete: allow passing a revision to successorssets() 2013-08-04 13:43:39 +02:00
Jeff Sickel
638ca0e5b2 factotum: clean up keychain for multiple hg repository authentication 2013-08-12 17:44:31 -05:00
Jeff Sickel
e34e7ec865 9mail: new script to add support for Plan 9 upas/marshal email wrapper 2013-08-12 17:36:49 -05:00
Sean Farley
2f686aa464 workingfilectx: inherit from basefilectx instead of filectx 2013-08-11 23:50:32 -05:00
Sean Farley
726ffb7462 basefilectx: move copies from filectx 2013-08-11 23:06:10 -05:00
Sean Farley
4ff2bdaf91 basefilectx: move ancestors from filectx 2013-08-11 23:05:50 -05:00
Sean Farley
6e02ef72e6 basefilectx: move ancestor from filectx 2013-08-11 23:05:08 -05:00
Sean Farley
9b77633abf basefilectx: move annotate from filectx 2013-08-11 23:03:33 -05:00
Sean Farley
d165e8257b basefilectx: move p2 from filectx 2013-08-11 23:00:11 -05:00
Sean Farley
98aa1d5037 basefilectx: move p1 from filectx 2013-08-11 22:59:10 -05:00
Sean Farley
7a7821cc2f basefilectx: move parents from filectx 2013-08-11 22:57:21 -05:00
Sean Farley
b4bfc8c2dc basefilectx: move cmp from filectx 2013-08-11 22:56:53 -05:00
Sean Farley
29424e6c91 basefilectx: move isbinary from filectx 2013-08-11 22:56:30 -05:00
Sean Farley
6173fa01da basefilectx: move path from filectx 2013-08-11 22:56:18 -05:00
Sean Farley
615c354555 basefilectx: move changectx from filectx 2013-08-11 22:56:02 -05:00
Sean Farley
7f9c8225f5 basefilectx: move manifest from filectx 2013-08-11 22:55:09 -05:00
Sean Farley
3d1241011d basefilectx: move phasestr from filectx 2013-08-11 22:54:58 -05:00
Sean Farley
5fc34c58af basefilectx: move phase from filectx 2013-08-11 22:54:48 -05:00
Sean Farley
14863e5b77 basefilectx: move extra from filectx 2013-08-11 22:54:39 -05:00
Sean Farley
f6e15b5aa3 basefilectx: move branch from filectx 2013-08-11 22:54:31 -05:00
Sean Farley
0e2bdf70f7 basefilectx: move description from filectx 2013-08-11 22:54:22 -05:00
Sean Farley
7b079fe631 basefilectx: move files from filectx 2013-08-11 22:54:12 -05:00
Sean Farley
aa95db8a42 basefilectx: move date from filectx 2013-08-11 22:53:56 -05:00
Sean Farley
75c2c801b7 basefilectx: move user from filectx 2013-08-11 22:53:47 -05:00
Sean Farley
0ce35dca8c basefilectx: move hex from filectx
We also change the function call to use the hex method of its change context
so that it mirrors other such method calls.
2013-08-11 22:53:23 -05:00
Sean Farley
c0467a47e6 basefilectx: move node from filectx 2013-08-11 22:51:53 -05:00
Sean Farley
d6ce710e1b basefilectx: move linkrev from filectx 2013-08-11 22:51:41 -05:00
Sean Farley
6e99ebd143 basefilectx: move rev from filectx 2013-08-11 22:51:30 -05:00
Sean Farley
edc03d3f42 basefilectx: move filelog from filectx 2013-08-11 22:51:18 -05:00
Sean Farley
02848fc120 basefilectx: move flags from filectx 2013-08-11 22:51:04 -05:00
Sean Farley
f9fa7c5178 basefilectx: move filenode from filectx 2013-08-11 22:50:37 -05:00
Sean Farley
148e8ae6f6 basefilectx: move filerev from filectx 2013-08-11 22:50:15 -05:00
Sean Farley
ed823527a5 basefilectx: move __ne__ from filectx 2013-08-11 22:49:40 -05:00
Sean Farley
56f8d7a94b basefilectx: move __eq__ from filectx
We also add type checking for extra protection.
2013-08-11 22:49:03 -05:00
Sean Farley
cb1cda0d9a basefilectx: move __hash__ from filectx 2013-08-11 22:47:39 -05:00
Sean Farley
79dc9a8663 basefilectx: move __repr__ from filectx
We change the hardcoded 'filectx' to instead use type(self).__name__ so that objects that
inherit from basefilectx in the future will be able to use the same representation.
2013-08-11 22:46:54 -05:00
Sean Farley
6d40b2e84f basefilectx: move __str__ from filectx 2013-08-11 22:45:30 -05:00
Sean Farley
7d4c1da38f basefilectx: move __nonzero__ from filectx 2013-08-11 22:45:13 -05:00