Commits

Author Commit Message Labels Comments Date
Dan Villiom Podlaski Christiansen
kill all 'print' statements in the extension proper
David Schleimer
Partial metadata rebuilding For highly active subversion repositories, it can be excruciatingly slow to pull updates one at a time from subversion. One way around this is to setup another mercurial repo that pulls new commits from svn periodicly (say every 5 minutes). When you want to update your repository, you can pull commits from this mercurial repository via native mercurial protocols, which will be much faster than p…
Bryan O'Sullivan
revsets: huge speedups for fromsvn and svnrev I have a hgsubversion repo that contains over 300,000 commits. In that repo, this patch improves performance as follows: hg --time log -r 'first(fromsvn())' Before: 40.3 sec After: 0.8 sec hg --time log -r 'svnrev(350000)' Before: 40.3 sec After: 0.1 sec Note: the performance of these revset implementations is very sensitive to doing as little work as possible per line of the rev_map file.…
Dan Villiom Podlaski Christiansen
svnmeta: only remove directory components in normalize() Previously, a file beginning with the repository subdirectory would be stripped, resulting in a leftover file name with a wrong name. A subsequent pull of a revision modifying the file would add it under its correct name, but leave the leftover file.
Dan Villiom Podlaski Christiansen
make assertion failures slightly prettier and more readable
Dan Villiom Podlaski Christiansen
fold test_startrev and test_verify into a new test; test_verify_and_startrev
Bryan O'Sullivan
verify: tell progress when we're done
Bryan O'Sullivan
Abstract away the details of where svn revs are stored in a commit
Augie Fackler
Added tag 1.4 for changeset 07234759a3f7
Patrick Mézard
svnexternals: fix handling of subrepo pinned to HEAD in hg 2.2 hg 2.2 is trying harder to see through our lies but we will prevail. Override subrepo.basestate() so we can pretend the svn revision number is HEAD, honest.
Tags
1.4
Patrick Mézard
svn verify: display extra and missing files separately
Patrick Mézard
test_utility_commands: test verify command Also, make verify output more stable.
Dan Villiom Podlaski Christiansen
Makefile: set HGRCPATH to protects us from broken environments
Augie Fackler
pickle_atomic: unbreak old hg versions hg that use rename() instead of close()
Augie Fackler
svnrepo: don't break on old hg versions that lack pushkey
Augie Fackler
wrappers: don't break on old hg versions that lack discovery
Dan Villiom Podlaski Christiansen
svn verify: mention URL in output Before: verifying 9b763e4870f5 against r72 After: verifying 9b763e4870f5 against http://gclient.googlecode.com/svn/trunk@72
Patrick Mézard
tests: remove useless imp imports
Patrick Mézard
test_svnwrap: use test_util.rmtree() (or fix it)
Patrick Mézard
test_util: remove self.repo_path, generate new paths each time This solves a problem with startrev tests sporadically failing in ra.get_log() with some kind of svn corruption error. Loading each svn repository in a different place solved that, or at least prevented me from reproducing it. What is interesting is this is the same fixture being loaded each time. Also, before loading the fixture, we take care of removing an existing repository. Loading with the s…
Patrick Mézard
test_util: pass repo_path to svnpropget(), turn into a function
Patrick Mézard
test_util: pass repo_path to svnco() explicitely
Patrick Mézard
test_util: pass repo_path to svnls(), turn it into a function
Patrick Mézard
test_util: pass repo_path to _add_svn_rev() explicitely
Patrick Mézard
test_util: add a load_and_fetch() returning the repo_path
Patrick Mézard
test_util: merge load_svndump_fixture() into TestBase
Patrick Mézard
test_util: merge load_fixture_and_fetch() into TestBase method The middle-term goal is to make TestBase repo_path and wc_path private, so they can be changed for every load call. This is not required to use nosetests multiprocess facility as the fixtures create temporary directories but it makes things much clearer and avoid weird cases where a repository was loaded several times at the same location in a single test (cf test_startrev). That way we will be mo…
Augie Fackler
Merge
Augie Fackler
stupid: add comment noting why we track modified binary files
Patrick Mézard
editor: work around svn 1.7 closing the output fp in apply_textdelta() Calling close() on the output cStringIO when done with patching prevents us to retrieve the result with getvalue(). Note: I found this bug has been fixed already by 794f3e41ec1e. I feel ignoring the close() call is a little cleaner than storing the value before the handler() call for there is no guarantee the handler does not modify the value in its last call. Looking at text_delta.c, it does not…
  1. Prev
  2. Next