Patrick Mezard
caba144775
Declare bzr TERM=dumb to silence progress bars
...
In theory, one could set BZR_PROGRESS_BAR=none but it does not work in 1.14rc2
2009-04-26 18:36:36 +02:00
Matt Mackall
f6c8930392
replace various uses of list.reverse()
2009-04-26 16:50:44 -05:00
Matt Mackall
2f9b02c62d
replace util.sort with sorted built-in
...
This is marginally faster for small and moderately-sized lists
2009-04-26 16:50:44 -05:00
Matt Mackall
c15de6b1b7
ui: make interactive a method
2009-04-26 16:50:44 -05:00
Matt Mackall
9ec97bdefe
util: take propertycache from context.py
2009-04-26 16:50:44 -05:00
Matt Mackall
de487eacda
ui: print_exc() -> traceback()
2009-04-26 16:50:44 -05:00
Matt Mackall
1be9517a0f
ui: traceback -> _traceback
2009-04-26 16:50:44 -05:00
Matt Mackall
efc3ded95f
ui: report_untrusted fixes
...
- report_untrusted -> _reportuntrusted
- only report config shadows if enabled
- config shadows are debug messages
2009-04-26 16:50:44 -05:00
Matt Mackall
77cc1dfdeb
ui: privatize cdata vars
2009-04-26 16:50:44 -05:00
Matt Mackall
e84a8d1258
ui: buffers -> _buffers
2009-04-26 16:50:44 -05:00
Matt Mackall
30784dabe1
ui: trusted_users -> _trustusers, trusted_groups -> _trustgroups
2009-04-26 16:50:44 -05:00
Matt Mackall
4e3a9053dc
ui: assumetrusted -> trust
2009-04-26 16:50:44 -05:00
Matt Mackall
00aa85afa3
ui: _get_cdata -> _data
2009-04-26 16:50:44 -05:00
Matt Mackall
86dab18ddb
config: getsource -> source
2009-04-26 16:50:43 -05:00
Matt Mackall
286d20f8b7
ui: simplify fixconfig
2009-04-26 16:50:43 -05:00
Matt Mackall
59ffac0401
ui: fix-up and warn about deprecated %%
2009-04-26 16:50:43 -05:00
Matt Mackall
416d312fe5
bugzilla: fix section reading
2009-04-26 16:50:43 -05:00
Matt Mackall
581beec905
templater: use new config parser
...
This gives us the ability to use includes and continuations
2009-04-26 16:50:43 -05:00
Matt Mackall
036f77e767
config: add section filter to read
...
move section filtering out of ui.readconfig
kill section filtering in config.update
2009-04-26 16:50:43 -05:00
Matt Mackall
f74e9a6511
config: deal with spaces at end of line more carefully
2009-04-26 16:50:43 -05:00
Matt Mackall
ba8099cfb8
hgweb: kill parentui references
2009-04-26 16:50:43 -05:00
Matt Mackall
be7d59ab85
ui: kill most users of parentui name and arg, replace with .copy()
2009-04-26 16:50:43 -05:00
Matt Mackall
88b13fecec
ui: replace parentui mechanism with repo.baseui
2009-04-26 16:50:43 -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
Matt Mackall
10af375ad9
ui: less links to parentui
2009-04-26 16:50:43 -05:00
Matt Mackall
1217ed8107
config: add some helper methods
2009-04-26 16:50:43 -05:00
Matt Mackall
9c7f505708
config: split source data out into separate map
2009-04-26 16:50:43 -05:00
Matt Mackall
a85b71443f
config: add %unset name support
2009-04-26 16:50:43 -05:00
Matt Mackall
bc6c19544f
config: allow including other config files
2009-04-26 16:50:43 -05:00
Matt Mackall
b7e5202883
showconfig: show source file and line with --debug
2009-04-26 16:50:43 -05:00
Matt Mackall
8a63c10958
util: kill configparser wrapper
2009-04-26 16:50:43 -05:00
Matt Mackall
8034ce6ca9
hgweb: use config.config
2009-04-26 16:50:43 -05:00
Matt Mackall
68db339c4b
clone: config escaping no longer needed
2009-04-26 16:50:43 -05:00
Matt Mackall
7587b1ab33
Merge with stable
2009-04-26 16:50:09 -05:00
Matt Mackall
ee9ffff851
Merge with crew-stable
2009-04-26 16:49:47 -05:00
Brendan Cully
3777340d8f
transplant: forbid transplant to nonempty repositories with no working directory.
...
Partially undoes a16d422297c0.
2009-04-26 14:20:41 -07:00
Benjamin Wohlwend
ef87785038
ui.isatty() accesses sys.stdin, causing mod_wsgi to throw IOError.
2009-04-26 13:36:08 -07:00
Patrick Mezard
ccca7abe8e
convert/bzr: make it work with filemaps (issue1631)
...
The bzr converter maintains a child -> parents mapping and drop entries
whenever a child is read. It does not work with filemaps, getchangedfiles() may
be called more than once when filtered files belong to merge revisions.
getchanges() still works that way but it is not clear whether a similar issue
can arise when interacting with merges.
2009-04-26 11:35:53 +02:00
Martijn Pieters
4abe231925
hg: allow hg.parseurl(url, None)
...
In many places hg.parseurl is called with a url and "opts.get('rev')",
suggesting the second, optional argument can be None. Because opts['rev']
usually defaults to [] this never happens in practice.
However, extensions don't necessarily behave the same, but do copy this
pattern.
Also, include wider hg.parseurl tests, beyond a demonstration of the problem.
2009-04-24 18:17:42 +02:00
Jacob Lee
9dd517638d
transplant: remove the restriction that the destination be nonempty.
...
Test fixed by Patrick Mezard <pmezard@gmail.com>
2009-04-24 17:00:18 -05:00
Francis Barber
54d390306a
Fix subversion convert not detecting empty changesets.
...
Need to check for the empty as list as well as None.
2009-04-25 21:27:47 +08:00
Patrick Mezard
62eea60737
convert/bzr: fix symlink handling (issue1626)
2009-04-24 10:34:11 +02:00
Matt Mackall
5c870ca09d
Merge with crew-stable
2009-04-23 15:25:27 -05:00
Patrick Mezard
75233223fe
convert/bzr: handle files replaced by directories (issue1623)
2009-04-23 15:07:05 +02:00
Paul Aurich
e41f434c50
convert/mtn: mtn does not record timezones, mark dates as UTC (issue1624)
2009-04-23 08:45:44 +02:00
Patrick Mezard
f7e8a4c038
convert/mtn: handle directory move into moved directory (issue1619/3)
2009-04-22 10:25:05 +02:00
Patrick Mezard
6bbead8918
convert/mtn: handle files moved in a moved directory (issue1619/2)
2009-04-21 22:31:16 +02:00
Matt Mackall
e612ed45dd
Merge with crew-stable
2009-04-21 12:53:06 -05:00
Paul Aurich
477feb0ff9
convert/mtn: handle subsecond commit dates (issue1616)
2009-04-21 15:57:15 +02:00
Patrick Mezard
551e0cf361
convert/mtn: handle new files in moved directories (issue1619)
...
Reported and investigated by Paul Aurich <paul@darkrain42.org>
2009-04-21 14:17:29 +02:00