Submitter | timeless@mozdev.org |
---|---|
Date | Feb. 15, 2016, 5:48 a.m. |
Message ID | <de492f4be4555250f293.1455515307@waste.org> |
Download | mbox | patch |
Permalink | /patch/13192/ |
State | Accepted |
Delegated to: | Yuya Nishihara |
Headers | show |
Comments
On Sun, 14 Feb 2016 23:48:27 -0600, timeless wrote: > # HG changeset patch > # User timeless <timeless@mozdev.org> > # Date 1454910985 0 > # Mon Feb 08 05:56:25 2016 +0000 > # Node ID de492f4be4555250f293171c3ff52566d9e46892 > # Parent d3f1b7ee5e7091afa7bf8059013ddfb3b385a37c > tests: change branches test to work cross platform Queued this, thanks!
Patch
diff --git a/tests/test-branches.t b/tests/test-branches.t --- a/tests/test-branches.t +++ b/tests/test-branches.t @@ -544,15 +544,15 @@ 0060: e3 d4 9c 05 80 00 00 02 e2 3b 55 05 00 00 00 02 |.........;U.....| 0070: f8 94 c2 56 80 00 00 03 |...V....| -#if unix-permissions no-root no errors when revbranchcache is not writable $ echo >> .hg/cache/rbc-revs-v1 - $ chmod a-w .hg/cache/rbc-revs-v1 + $ mv .hg/cache/rbc-revs-v1 .hg/cache/rbc-revs-v1_ + $ mkdir .hg/cache/rbc-revs-v1 $ rm -f .hg/cache/branch* && hg head a -T '{rev}\n' 5 - $ chmod a+w .hg/cache/rbc-revs-v1 -#endif + $ rmdir .hg/cache/rbc-revs-v1 + $ mv .hg/cache/rbc-revs-v1_ .hg/cache/rbc-revs-v1 recovery from invalid cache revs file with trailing data $ echo >> .hg/cache/rbc-revs-v1