Commit Graph

274 Commits

Author SHA1 Message Date
Matt Mackall
4674f1ed5e use ui buffering in changeset printer
delete old uibuffer class
delete old stringio class
move show to _show
add new show that uses ui.pushbuffer to buffer
add new flush that writes buffered data
add props arg to changeset_printer to match _templater
2006-12-01 01:28:19 -06:00
Alexis S. L. Carvalho
3ef2e9ed94 fix hg log -r '' 2006-11-27 22:56:26 -02:00
Thomas Arendsen Hein
ea20cdf3f7 Removed unused ui parameter from revpair/revrange and fix its users. 2006-11-22 23:02:28 +01:00
Thomas Arendsen Hein
411d64ce3e white space and line break cleanups 2006-11-17 08:06:54 +01:00
Matt Mackall
a43442fa8e add log --removed 2006-11-15 15:51:58 -06:00
Matt Mackall
8e5a9075b7 move walkchangerevs to cmdutils 2006-11-15 15:51:58 -06:00
Matt Mackall
c8bc764d1e Consolidate brinfo handling 2006-11-15 15:51:58 -06:00
Matt Mackall
40946417bd changeset templater: convert some unnecessary yields to returns 2006-11-15 15:51:58 -06:00
Matt Mackall
f40fcaac75 Refactor log ui buffering and patch display 2006-11-13 13:26:57 -06:00
Matt Mackall
c50c09da0a templates: move changeset templating bits to cmdutils 2006-11-13 13:26:57 -06:00
Matt Mackall
9297d4db5f convert dict(zip(x,x)) to dict.fromkeys(x) 2006-10-27 00:38:42 -05:00
Matt Mackall
16cbfeb13b kill makewalk function 2006-10-26 18:43:57 -05:00
Matt Mackall
6ff42f7ea8 Make revrange return a list of ints so that callers don't have to convert 2006-10-26 17:27:07 -05:00
Matt Mackall
9062f155f7 simplify revrange and revpair 2006-10-26 17:15:55 -05:00
Matt Mackall
89015daf47 lookup(str(x)) -> lookup(x) 2006-10-26 14:09:15 -05:00
Brendan Cully
24756bd157 Move revision parsing into cmdutil. 2006-09-14 11:19:35 -07:00
Thomas Arendsen Hein
d2082f10fc Never apply string formatting to generated errors with util.Abort.
Otherwise error messages containing % chars yield errors or worse.
Fixed (hopefully) all users of util.Abort.
2006-09-08 09:36:18 +02:00
Vadim Gelfer
f72ee79e69 addremove: add -s/--similarity option
progress on issue 295.
2006-08-18 22:13:58 -07:00
Vadim Gelfer
e72a2729a5 fix comment. 2006-08-18 21:18:01 -07:00
Vadim Gelfer
453f16d1d7 cmdutil.matchpats: allow include/exclude to be optional. 2006-08-13 17:03:33 -07:00
Vadim Gelfer
15c30eaff6 add default values to arguments of walk etc. 2006-08-13 17:03:03 -07:00
Vadim Gelfer
92dd5b8dc0 move commands.addremove_lock to cmdutil.addremove 2006-08-13 16:57:45 -07:00
Vadim Gelfer
f3ad0810cd move walk and matchpats from commands to cmdutil. 2006-08-13 16:11:22 -07:00
Vadim Gelfer
13d751feaf refactor text diff/patch code.
rename commands.dodiff to patch.diff.
rename commands.doexport to patch.export.
move some functions from commands to new mercurial.cmdutil module.
turn list of diff options into mdiff.diffopts class.

patch.diff and patch.export now has clean api for call from 3rd party
python code.
2006-08-12 16:13:27 -07:00