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
Nicolas Dumazet
4c31093b61
cmdutil: replace sys.maxint with None as default value in loglimit
...
Semantically, it is better to use None over any other value when there is
"no value". Using maxint in this context is quite hackish, and is not forward
compatible.
2009-12-14 00:32:29 +09: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
Thomas Arendsen Hein
0b7147a667
Updated command tables in commands.py and hgext extensions.
...
- Marked for translation where extensions already had _()
- Corrected indentation
- fixed a few synopsises
2007-06-26 22:38:57 +02:00
Thomas Arendsen Hein
483231d996
Cleanup of whitespace, indentation and line continuation.
2007-06-19 08:06:37 +02:00
Thomas Arendsen Hein
19530763e6
Reverted changesets a812fb9bfa26 and f1c9e4d4a477: show @ as glog parent again.
...
Repainted the bikeshed with its original color.
2007-06-14 12:54:06 +02:00
Thomas Arendsen Hein
49220695bc
Removed trailing whitespace and tabs from python files
2007-06-06 20:22:52 +02:00
Thomas Arendsen Hein
df8762ba4d
graphlog: Print . instead of @ for working directory parents
...
"." is accepted as an alias for the first working directory parent by -r/--rev
2007-06-06 18:28:48 +02:00
Joel Rosdahl
cd9e37bddc
Add graphlog extension
2007-04-09 10:39:28 +02:00