1. mirror
  2. mercurial

Commits

Author Commit Message Date Builds
Patrick Mézard
repair: no need to call filterunknown() in strip() Calling strip() will eventually trigger localrepo.destroyed() which will invalidate _parseroots. It will call filterunknown() upon reload. Changes to test-keyword.t are related to commit --debug running after either qpop or rollback.
Patrick Mézard
test-phases: test changing null revision phase The behaviour is correct but for bad reasons: the repo.set() call in phase command fails for '-1'. It should be rejected explicitely by phase boundary commands, sadly this is hard to do because phase changes are not applied atomically.
Matt Mackall
merge with stable
Bryan O'Sullivan
tests: fix test-parseindex2.py when run with --pure
Branches
stable
Bryan O'Sullivan
changelog: ensure that nodecache is valid (issue3428) This ensures that an out-of-process hook can see an incoming changegroup.
Branches
stable
Bryan O'Sullivan
parsers: change the type of nt_level We should generally prefer Py_ssize_t whenever we are talking about lengths.
Bryan O'Sullivan
parsers: change the type signature of hexdigit An upcoming change will make use of this.
Bryan O'Sullivan
parsers: allow nt_find to signal an ambiguous match
Bryan O'Sullivan
parsers: factor out radix tree initialization
Bryan O'Sullivan
parsers: update ntrev when we stop scanning This prevents us from inserting some nodes twice, wasting work.
Matt Mackall
tests: set a standard terminal type This makes test-ui-color.py happy when run in a dumb terminal. Spotted by Jesse Glick <jesse.glick@oracle.com>
ToadJamb
branches: quiet option observes other parameters
Nikolaj Sjujskij
build: fix hgrc manpage building with docutils 0.9 Since docutils 0.9, `roman` module has been moved from module directory root (i.e. `site-packages/roman.py`) to `docutils.utils` module. Therefore `import roman` statement should be wrapped in `try: ... except ImportError: ...` block to handle importing correctly.
Branches
stable
idank
context: fix call to util.safehasattr
Patrick Mézard
alias: inherit command optionalrepo flag (issue3298) Commands working without a repository, like "init", are listed in commands.norepo. Commands optionally using a repository, like "showconfig", are listed in commands.optionalrepo. Command aliases were inheriting the former but not the latter.
Branches
stable
kiilerix
tests: improve test of hg-ssh and make the test pass on windows
Branches
stable
kiilerix
hg-ssh: exit with 255 instead of -1 on error Unix sh would cast -1 to 255 anyway, but on windows -1 become 0. Better be explicit with the 255 everywhere.
Branches
stable
kiilerix
hg-ssh: use %s for printing paths in error messages This avoids \\ if this ever is run on windows - for example in the test suite.
Branches
stable
kiilerix
tests: accept \ in test-casefolding on windows
Branches
stable
Adrian Buehlmann
parsers: statically initializing tp_new to PyType_GenericNew is not portable As detailed on http://docs.python.org/extending/newtypes.html (quote): "In this case, we can just use the default implementation provided by the API function PyType_GenericNew(). We’d like to just assign this to the tp_new slot, but we can’t, for portability sake. On some platforms or compilers, we can’t statically initialize a structure member with a function defined in another C modul…
Branches
stable
Matt Mackall
merge with stable
Matt Mackall
context: add copies method with caching
Matt Mackall
filectx: handle some other simple cases for finding merge ancestor
Matt Mackall
graft: remark on empty graft
Matt Mackall
filectx: make ancestor require actx When grafting or rebasing, we need to know the target ancestor.
Patrick Mézard
pure/base85: align exception type/msg on base85.c brendan mentioned on IRC that b64decode raises a TypeError too, but while the previous exception type may be better in general, it is much easier to make it behave like the related C code and changes nothing for mercurial itself.
Branches
stable
Matt Mackall
parsers: fix refcount bug on corrupt index When we encounter a corrupt index, we "fail" the init but our destructor still gets called. On some systems, this was causing us to attempt to decref a dangling to self->data.
Branches
stable
Patrick Mézard
subrepo: do not traceback on .hgsubstate parsing errors Note that aborting in subrepo.state() prevents "repairing" commands like revert to be issued. The user will have to edit the .hgsubstate manually (but he probably had already otherwise this would not be failing). The same behaviour already happens with invalid .hgsub entries.
Branches
stable
Patrick Mézard
subrepo: ignore blank lines in .hgsubstate (issue3424) Reported by Sebastian Krysmanski <infomail@lordb.de>
Branches
stable
hlian
largefiles: in putlfile, ensure tempfile's directory exists prior to creation Let R be a repo served by an hg daemon on a machine with an empty largefiles cache. Pushing a largefiles repo to R will result in a no-such-file-or-directory OSError because putlfile will attempt to create a temporary file in R/.hg/largefiles, which does not yet exist. This patch also adds a regression test for this scenario.
Branches
stable
  1. Prev
  2. Next