Commit Graph

56 Commits

Author SHA1 Message Date
Benoit Boissinot
6018085a10 merge with -stable 2009-07-19 21:15:40 +02:00
Benoit Boissinot
74c03ea972 graphlog: fix incoming with local repo (issue1731) 2009-07-19 18:59:19 +02:00
Martin Geisler
507c95edcf graphlog: wrapped docstrings at 78 characters 2009-07-07 23:54:42 +02:00
Dirkjan Ochtman
0448417ea2 extensions: change descriptions for extensions providing a few commands 2009-06-24 13:42:02 +02:00
Dirkjan Ochtman
1c6c4a9bc7 extensions: fix up description lines some more 2009-06-24 12:25:56 +02:00
Cédric Duval
dbcec5595d extensions: improve the consistency of synopses
Trying as much as possible to consistently:
 - use a present tense predicate followed by a direct object
 - verb referring directly to the functionality provided
   (ie. not "add command that does this" but simple "do that")
 - keep simple and to the point, leaving details for the long help
   (width is tight, possibly even more so for translations)

Thanks to timeless, Martin Geisler, Rafael Villar Burke, Dan Villiom
Podlaski Christiansen and others for the helpful suggestions.
2009-06-22 15:48:08 +02:00
Peter Arrenbrecht
e798ecda43 graphmod/graphlog: make dag walks carry data as type, payload 2009-06-19 13:22:32 +02:00
Peter Arrenbrecht
f70b873a2e graphlog: rename grapher to asciiedges 2009-05-16 07:12:12 +02:00
Peter Arrenbrecht
2a5e57ab1b graphlog: move and rename graphabledag to asciiformat 2009-05-16 07:11:41 +02:00
Peter Arrenbrecht
4f16f2b978 graphmod/graphlog: extract nodelistwalk 2009-06-19 13:14:45 +02:00
Peter Arrenbrecht
6b4a9cc835 graphmod/graphlog: move log walks to graphmod 2009-06-19 13:14:01 +02:00
Martin Geisler
bda88a146a graphlog, win32mbcs: capitalize ASCII 2009-05-31 14:53:46 +02:00
Martin Geisler
7d509c2459 add blank line after copyright notices and after header 2009-04-26 01:25:53 +02:00
Martin Geisler
750183bdad updated license to be explicit about GPL version 2 2009-04-26 01:08:54 +02:00
Matt Mackall
f6c8930392 replace various uses of list.reverse() 2009-04-26 16:50:44 -05:00
Matt Mackall
6708d0e299 add cmdutil.remoteui
remoteui sorts out the issues of getting ssh config options from the
local repo into the remote one while not copying other options like hooks.
2009-04-26 16:50:43 -05:00
Martin Geisler
1deb417a82 util: use built-in set and frozenset
This drops Python 2.3 compatibility.
2009-04-22 00:55:32 +02:00
Peter Arrenbrecht
19591b6a8c cleanup: drop unused assignments 2009-03-23 13:13:06 +01:00
Peter Arrenbrecht
bc21361ed2 cleanup: drop unused imports 2009-03-23 13:12:07 +01:00
Jim Correia
be78d0e512 log-like commands now use -G for --graph, -g for --git 2009-02-14 22:41:18 +01:00
Dirkjan Ochtman
764aea99be graphlog: extract large parts of repeated code from incoming/outgoing 2009-01-26 16:50:27 +01:00
Dirkjan Ochtman
90d6f68470 graphlog: reuse cmdutil.loglimit() instead of redefining 2009-01-26 16:40:43 +01:00
Dirkjan Ochtman
3c20b9ea9c graphlog: import util module rather than selected functions 2009-01-26 16:15:28 +01:00
Dirkjan Ochtman
35a7a2d857 bundlerepo doesn't really have a dirstate, throw AttributeError if requested 2008-11-27 16:07:17 +01:00
Alpar Juttner
bc30633124 Graphlog extension adds a --graph option to log/in/out
The --graph option shows the ascii revision graph when used in conjunction
with the incoming, outgoing or log commands.

It also makes sure that incompatible options (e.g. --newest-first) are not
used.
2008-11-21 22:27:11 +00:00
Peter Arrenbrecht
f5e17bf442 graphlog: fix regression with filelogs introduced by c19a6e3c8257 2008-11-16 20:55:30 +01:00
Dirkjan Ochtman
18919db71c graphlog: fix python2.3 incompatibility (used genexp, sorted()) 2008-11-15 12:27:40 +01:00
Dirkjan Ochtman
86787fafb1 graphlog: kill whitespace from earlier refactoring 2008-11-14 18:34:47 +01:00
Dirkjan Ochtman
35deddbf97 graphlog: use built-in log output buffering 2008-11-14 13:48:23 +01:00
Peter Arrenbrecht
0aba0de18f graphlog: refactor common grapher code
Extracts the column and edge determination code into a separate function
usable on generic DAGs with at most 2 parents per node.

grapher() is very similar to graphmod.graph(). I shall look into merging
them when I try visualizing patch branches in hgweb.

Started using contexts and renamed a bunch of variables (fewer underscores).
2008-11-14 13:44:10 +01:00
Dirkjan Ochtman
9ef9b3e5db cmdutil: use change contexts for cset-printer and cset-templater 2008-11-14 13:59:25 +01:00
Peter Arrenbrecht
80b2cbc5cf graphlog: add assertion for allowed n_column_diff range 2008-11-12 16:32:21 +01:00
Peter Arrenbrecht
6c0891c089 graphlog: drop redundant comment (see docstring) 2008-11-12 16:32:35 +01:00
Dirkjan Ochtman
1632f1ef05 graphlog: move functions around, eliminate helper function
Makes it easier to read all of the code.
2008-11-07 11:44:37 +01:00
Peter Arrenbrecht
c463871592 graphlog: split the actual DAG grapher out into a separate method
This allows extensions like pbranch to use asciigraph() to graph dependencies
for patch branches, but could be used for basically any DAG.
2008-11-07 10:37:20 +01:00
Peter Arrenbrecht
f9593dad02 graphlog: rename some vars prior to refactoring 2008-11-07 10:29:43 +01:00
Peter Arrenbrecht
939c6d9fa8 graphlog: make some comment lines more like others in punctuation 2008-11-07 10:29:35 +01:00
Benoit Boissinot
ea7fe6dacc remove unused variables 2008-10-28 19:25:26 +01:00
Patrick Mezard
20286160ce Merge with crew-stable 2008-09-02 09:47:40 +02:00
Patrick Mezard
a5a7a649cf graphlog: fix calls from outside the repository (issue1285) 2008-09-02 09:25:29 +02:00
Matt Mackall
a65ef7bc5d util: add sort helper 2008-06-27 18:28:45 -05:00
Matt Mackall
bc715be859 add __len__ and __iter__ methods to repo and revlog 2008-06-26 14:35:50 -05:00
Dirkjan Ochtman
dc3b56ac83 convert comments to docstrings in a bunch of extensions 2008-06-12 11:33:47 +02:00
Joel Rosdahl
4f8012378a Remove unused imports 2008-03-06 22:23:41 +01:00
Thomas Arendsen Hein
9f92f48ca6 Introduce templateopts and logopts to reduce duplicate option definitions. 2008-02-29 02:45:12 +01:00
Steve Borho
00ce800347 graphlog: skip filectx parents in other filelogs 2008-01-30 10:58:54 -06:00
Thomas Arendsen Hein
3648abc9d4 glog shows at most one file: correct synopsis 2008-01-26 00:14:20 +01:00
Thomas Arendsen Hein
b7250f2196 Add back elipsis to [OPTION] that was stolen by 35300d41c884 2008-01-25 20:17:48 +01:00
Steve Borho
a089948585 graphlog: add filelog revision grapher
Graph a filelog's DAG, e.g.:  hg glog mercurial/util.py
2008-01-25 10:28:21 -06:00
Thomas Arendsen Hein
d17146e533 Make hg glog abort if unused arguments are given. 2007-06-28 16:18:09 +02:00