Sat, 25 Aug 2012 15:37:28 +0200 amend: lock the repository during the whole process
Pierre-Yves David <pierre-yves.david@ens-lyon.org> [Sat, 25 Aug 2012 15:37:28 +0200] rev 17471
amend: lock the repository during the whole process Without this changes another writer can lock the repository in the middle the amend process. The resulting mess can be pretty ugly.
Mon, 10 Sep 2012 14:08:10 -0700 Merge with crew
Bryan O'Sullivan <bryano@fb.com> [Mon, 10 Sep 2012 14:08:10 -0700] rev 17470
Merge with crew
Tue, 28 Aug 2012 20:52:04 +0200 obsolete: introduce caches for all meaningful sets
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 28 Aug 2012 20:52:04 +0200] rev 17469
obsolete: introduce caches for all meaningful sets This changeset introduces caches on the `obsstore` that keeps track of sets of revisions meaningful for obsolescence related logics. For now they are: - obsolete: changesets used as precursors (and not public), - extinct: obsolete changesets with osbolete descendants only, - unstable: non obsolete changesets with obsolete ancestors. The cache is accessed using the `getobscache(repo, '<set-name>')` function which builds the cache on demand. The `clearobscaches(repo)` function takes care of clearing the caches if any. Caches are cleared when one of these events happens: - a new marker is added, - a new changeset is added, - some changesets are made public, - some public changesets are demoted to draft or secret. Declaration of more sets is made easy because we will have to handle at least two other "troubles" (latecomer and conflicting). Caches are now used by revset and changectx. It is usually not much more expensive to compute the whole set than to check the property of a few elements. The performance boost is welcome in case we apply obsolescence logic on a lot of revisions. This makes the feature usable!
Sun, 09 Sep 2012 12:35:06 +0200 Merge with stable
Patrick Mezard <patrick@mezard.eu> [Sun, 09 Sep 2012 12:35:06 +0200] rev 17468
Merge with stable
Sun, 09 Sep 2012 12:31:14 +0200 test-http-branchmap: enable on Windows
Patrick Mezard <patrick@mezard.eu> [Sun, 09 Sep 2012 12:31:14 +0200] rev 17467
test-http-branchmap: enable on Windows Tests using "hg serve --daemon" are currently disabled on Windows for lack of proper kill utility. The one shipped with MinGW operates on internal process identifiers and not on the ones recorded by hg serve. Fortunately we can replace most of them by calls to killdaemons.py. This patch is a proof of concept on how to run these tests on Windows. The plan is: - Check test-http-branchmap.t does not fail/hang on the buildbot - Convert all kill utility calls to killdaemons.py calls. - Add a rule in check-code.py to forbid kill calls, or ignore the remaining ones (test-hup.t, etc.). - Possibly drop the 'serve' rule from hghave. The: listening at http://*:$HGPORT1/ line does not appear on Windows because the detached process can no longer write on its parent streams. Grepping hg serve stdout directly causes the parent process to never return and hangs the test. This is a bug, but I have no simple solution and prefer to pay this small price and enable hg serve tests on Windows.
Mon, 20 Aug 2012 22:36:51 +0200 killdaemons: take file argument explicitely
Patrick Mezard <patrick@mezard.eu> [Mon, 20 Aug 2012 22:36:51 +0200] rev 17466
killdaemons: take file argument explicitely It makes it easier to use as a generic replacement for kill utility, mostly for Windows tests.
Sun, 19 Aug 2012 18:06:15 +0200 killdaemons: add windows implementation
Patrick Mezard <patrick@mezard.eu> [Sun, 19 Aug 2012 18:06:15 +0200] rev 17465
killdaemons: add windows implementation
Sun, 19 Aug 2012 16:41:09 +0200 run-tests: do not duplicate killdaemons() code
Patrick Mezard <patrick@mezard.eu> [Sun, 19 Aug 2012 16:41:09 +0200] rev 17464
run-tests: do not duplicate killdaemons() code
Fri, 31 Aug 2012 13:17:16 -0500 bash_completion: add rebase rev completion
Kevin Bullock <kbullock@ringworld.org> [Fri, 31 Aug 2012 13:17:16 -0500] rev 17463
bash_completion: add rebase rev completion
Mon, 03 Sep 2012 17:25:50 +0100 tests: correct quoting of double quotes in here documents used to write hooks stable
Jim Hague <jim.hague@acm.org> [Mon, 03 Sep 2012 17:25:50 +0100] rev 17462
tests: correct quoting of double quotes in here documents used to write hooks Some shells, e.g. ksh89, will emit \" in a here document as ", while others will emit \". To be sure of getting \", we specify \\". This gets test-commit-amend.t and test-largefiles.t working on AIX.
Thu, 30 Aug 2012 16:47:08 +0200 amend: preserve phase of amended revision (issue3602) stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 30 Aug 2012 16:47:08 +0200] rev 17461
amend: preserve phase of amended revision (issue3602) New commit from the amend process were created without any phase contraint. If the amended changeset had a different phase from it's parent, the phases data were lost. The changeset ensure the new commit are created in the same phase than the original changeset.
Mon, 27 Aug 2012 09:37:49 -0700 color: enabled color support for export command (issue1507)
Ankur Dahiya <ankurd@fb.com> [Mon, 27 Aug 2012 09:37:49 -0700] rev 17460
color: enabled color support for export command (issue1507) The export command didn't output the diffs in color, even when color support was enabled. This patch fixes that by making the export command use the default ui.write method, instead of directly manipulating the ui.fout file object. Also added a test case to verify color output to test-export.t.
Thu, 06 Sep 2012 22:51:32 +0200 test-hybridencode: extensions are replicated on hashed paths
Adrian Buehlmann <adrian@cadifra.com> [Thu, 06 Sep 2012 22:51:32 +0200] rev 17459
test-hybridencode: extensions are replicated on hashed paths unfortunately, this is done unbounded, so the length of the hashed path is not really limited
Thu, 06 Sep 2012 10:57:49 -0700 Merge with crew-stable
Bryan O'Sullivan <bryano@fb.com> [Thu, 06 Sep 2012 10:57:49 -0700] rev 17458
Merge with crew-stable
Thu, 06 Sep 2012 19:53:23 +0200 test-hybridencode: dropping dir eight in hashed path due to dot or space at end
Adrian Buehlmann <adrian@cadifra.com> [Thu, 06 Sep 2012 19:53:23 +0200] rev 17457
test-hybridencode: dropping dir eight in hashed path due to dot or space at end
Wed, 05 Sep 2012 23:59:27 +0900 hgweb: respond 403 forbidden for ssl required error
Yuya Nishihara <yuya@tcha.org> [Wed, 05 Sep 2012 23:59:27 +0900] rev 17456
hgweb: respond 403 forbidden for ssl required error It's preferable to report "ssl required" as an error, so that the client can detect error and exit with 255. Currently hg exits with 1, which is "nothing to push."
Wed, 05 Sep 2012 23:58:43 +0900 test-push-http: include exit status of hg push
Yuya Nishihara <yuya@tcha.org> [Wed, 05 Sep 2012 23:58:43 +0900] rev 17455
test-push-http: include exit status of hg push
Fri, 07 Sep 2012 00:42:42 +0900 help: fix literal block syntax stable
Takumi IINO <trot.thunder@gmail.com> [Fri, 07 Sep 2012 00:42:42 +0900] rev 17454
help: fix literal block syntax
Thu, 06 Sep 2012 15:53:59 +0200 test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Adrian Buehlmann <adrian@cadifra.com> [Thu, 06 Sep 2012 15:53:59 +0200] rev 17453
test-hybridencode: adding one truncated char to dir 1..7 won't drop dir 8
Thu, 06 Sep 2012 15:04:07 +0200 test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Adrian Buehlmann <adrian@cadifra.com> [Thu, 06 Sep 2012 15:04:07 +0200] rev 17452
test-hybridencode: testing dir levels and dir prefix lenghts of hashed paths
Wed, 05 Sep 2012 22:01:09 +0200 histedit: fix unused variable warnings spotted by pyflakes
Patrick Mezard <patrick@mezard.eu> [Wed, 05 Sep 2012 22:01:09 +0200] rev 17451
histedit: fix unused variable warnings spotted by pyflakes
Fri, 03 Aug 2012 17:26:58 +0200 test-convert-mtn.t: generate files in binary mode
Patrick Mezard <patrick@mezard.eu> [Fri, 03 Aug 2012 17:26:58 +0200] rev 17450
test-convert-mtn.t: generate files in binary mode
Fri, 03 Aug 2012 17:26:30 +0200 test-convert-mtn.t: use #if to set mtndir to the correct value
Patrick Mezard <patrick@mezard.eu> [Fri, 03 Aug 2012 17:26:30 +0200] rev 17449
test-convert-mtn.t: use #if to set mtndir to the correct value Monotone store directory name is not the same on Windows and Unix.
Fri, 03 Aug 2012 17:56:34 +0200 test-convert-darcs.t: fix elementtree test
Patrick Mezard <patrick@mezard.eu> [Fri, 03 Aug 2012 17:56:34 +0200] rev 17448
test-convert-darcs.t: fix elementtree test On OSX, the test succeeds because darcs aborts when trying to convert the dummy repository, and the test only grep for the output. On Windows, the darcs call succeeds for some reason but darcs fails to emit any output, which is not a valid XML output, which causes a traceback including the ElementTree string matched by the check, and makes a false positive. Check with a real repository instead. The darcs upgrade test is moved at the end so we can use our handmade darcs repository for the test.
Fri, 03 Aug 2012 17:59:21 +0200 test-convert-svn-branches.t: fix self call failure on Windows
Patrick Mezard <patrick@mezard.eu> [Fri, 03 Aug 2012 17:59:21 +0200] rev 17447
test-convert-svn-branches.t: fix self call failure on Windows The error message is preceded by a cmd.exe error.
Mon, 27 Aug 2012 12:41:10 -0700 record: checks for valid username before starting recording process (issue3456)
Sumeet <sumeet@fb.com> [Mon, 27 Aug 2012 12:41:10 -0700] rev 17446
record: checks for valid username before starting recording process (issue3456)
Wed, 05 Sep 2012 14:08:31 +0200 test-hybridencode: test full range of ASCII codes from 126 to 255
Adrian Buehlmann <adrian@cadifra.com> [Wed, 05 Sep 2012 14:08:31 +0200] rev 17445
test-hybridencode: test full range of ASCII codes from 126 to 255
Wed, 05 Sep 2012 13:57:58 +0200 test-hybridencode: remove x00 character case
Adrian Buehlmann <adrian@cadifra.com> [Wed, 05 Sep 2012 13:57:58 +0200] rev 17444
test-hybridencode: remove x00 character case precludes implementation in C
Tue, 04 Sep 2012 15:50:42 -0700 Merge with crew-stable
Bryan O'Sullivan <bryano@fb.com> [Tue, 04 Sep 2012 15:50:42 -0700] rev 17443
Merge with crew-stable
Tue, 04 Sep 2012 15:50:15 -0700 Merge stable
Bryan O'Sullivan <bryano@fb.com> [Tue, 04 Sep 2012 15:50:15 -0700] rev 17442
Merge
Tue, 04 Sep 2012 15:46:04 -0700 subrepo: encode unicode path names (issue3610) stable
Bryan O'Sullivan <bryano@fb.com> [Tue, 04 Sep 2012 15:46:04 -0700] rev 17441
subrepo: encode unicode path names (issue3610) Subversion 1.7 changes its XML output to include an explicit encoding tag: <?xml version="1.0" encoding="UTF-8"?> This triggers xml.dom.minidom to always return unicode strings, causing other parts of the code to explode. We unconditionally encode path names before handing them back, which works with both str (actually a no-op) and unicode values.
Fri, 31 Aug 2012 13:08:11 +0200 test-hybridencode: add more testcases for hashed paths
Adrian Buehlmann <adrian@cadifra.com> [Fri, 31 Aug 2012 13:08:11 +0200] rev 17440
test-hybridencode: add more testcases for hashed paths
(0) -10000 -3000 -1000 -300 -100 -50 -32 +32 +50 +100 +300 +1000 +3000 +10000 +30000 tip