Commit Graph

740 Commits

Author SHA1 Message Date
Adam Simpkins
b6b5e38199 pushrebase: report details about public commits being pushed
Summary:
When failing due to attempting to rebase already-public commits, include the
public commit node IDs in the error message.

Test Plan: Included new tests.

Reviewers: durham, quark, #fbhgext

Reviewed By: durham, quark, #fbhgext

Differential Revision: https://phab.mercurial-scm.org/D1496
2017-11-28 20:10:46 -08:00
Mark Thomas
55f8d37a82 perftweaks: access inner map for dirstate types other than treedirstate
D1410 added support for treedirstate when collecting dirstate_size for
sampling.  However, it also changed from querying the inner dirstate map (which
is not available with treedirstate) to the outer map.  This breaks Eden, which
prevents calls to `__len__` on the outer map.

Revert the change for non-treedirstate dirstates, and handle treedirstate
explicitly.

Differential Revision: https://phab.mercurial-scm.org/D1530
2017-11-28 09:27:25 -08:00
Mark Thomas
4bce5b2bbc treedirstate: prevent interference with other dirstate implementations
To avoid problems when other dirstate implementations are in use (sqldirstate
or eden), prevent upgrade of repos with those implementations active to
treedirstate.

Automatic upgrades are silently prevented.  Attempts to manually upgrade fail
with an explanatory message.

Differential Revision: https://phab.mercurial-scm.org/D1528
2017-11-28 04:51:38 -08:00
Mark Thomas
badc398619 treedirstate: add configuration options
Add configuration options to control upgrading, downgrading and repacking of
treedirstate.

Differential Revision: https://phab.mercurial-scm.org/D1434
2017-11-28 04:51:38 -08:00
Mark Thomas
faadc08f74 setup: build treedirstate and rusttreedirstate packages
The treedirstate and rusttreedirstate packages are only built if a suitable
version of Cargo is available.

Differential Revision: https://phab.mercurial-scm.org/D1412
2017-11-28 04:51:38 -08:00
Mark Thomas
bf8616188d perftweaks: support treedirstate maps
Treedirstate maps won't have an inner _map, so will never be logged by
perftweaks.  The maps have an efficient size lookup, so it's OK to always
obtain their size.

Differential Revision: https://phab.mercurial-scm.org/D1410
2017-11-28 04:51:38 -08:00
Durham Goode
fce353c28d fastannotate: pass commitctx to filectx to prevent tree downloads
Previously fastannotate was creating filectx's by doing commitctx[path]. This
invokes logic that resovles the filenode immediately, which require loading the
manifest for that commit. In a repo where manifests are downloaded lazily, this
can result in a lot of time spent downloading manifests.

Since commands like hg blame -u only need the filectx so they can resolve the
commitctx for commit information, let's just pass the commitctx straight to the
filectx. It can later derive the filenode if it needs to.

Differential Revision: https://phab.mercurial-scm.org/D1488
2017-11-27 16:33:50 -08:00
Piotr Gabryjeluk
8d1350eab9 githelp: update suggestion for apply
Current:

$ hg githelp apply abc.diff
hg import abc.diff

Expected:

$ hg githelp apply abc.diff
hg import --no-commit abc.diff

git apply doesn't commit the applied diff, hg import (without the flag) does.

Differential Revision: https://phab.mercurial-scm.org/D1522
2017-11-27 11:40:57 -08:00
Hollis Blanchard
f2c455130c p4fastimport: only disable LFS uploads if p4fastimport.lfsmetadata is set
Currently, normal LFS uploads are completely disabled during a p4fastimport,
and users must run an external SQLite-reading uploader app after the import.

Instead, allow normal LFS functionality to work, but users may override it to
do the SQLite thing.

Differential Revision: https://phab.mercurial-scm.org/D1307
2017-11-27 03:34:35 -08:00
Thomas Jacob
35c42f65ae fbamend: allow general rev for --to, fix aborts
Summary:
Didn't work when --to wasn't specified as a 12 char
short hash, and since no errors were raised
due to the missing "raise" before error.abort
also effectively deleted changes in the working copy.

Now should work with anything repo[input] accepts
as a valid commit.

Also checks for predicatable error conditions before
the repo is modified to avoid changing working copy
on error.

Test Plan: TBD

Reviewers: #sourcecontrol

Subscribers: #sourcecontrol

Differential Revision: https://phabricator.intern.facebook.com/D6379590

Tasks: T22281996
2017-11-25 09:19:09 -08:00
Jun Wu
ec352026f4 perftweaks: add missing imports
This unblocks the branchcache issue.
2017-11-23 11:39:46 -08:00
Jun Wu
1b97b622fb Backed out D1451 and D1495
In `branchmap.updatecache`, there is an assertion:

    assert partial.validfor(repo)

That will break if `partial` (branchcache) does not have correct tiprev or
tipnode.

The long term fix will be probably reviving D1450.
2017-11-23 10:46:31 -08:00
Adam Simpkins
0dcddbbc06 perftweaks: unbreak the branchcache code
Summary:
D1451 changed _branchmapupdate() so that it no longer updates self.filteredhash
when changing self.tiprev.  This causes branchcache.validfor() to report that
the cache is no longer valid, causing an assertion failure at the end of
updatecache().

Test Plan: Running hg commands no longer crash.

Reviewers: quark, durham, #fbhgext

Reviewed By: quark, #fbhgext

Differential Revision: https://phab.mercurial-scm.org/D1495
2017-11-22 22:31:23 -08:00
Saurabh Singh
7ba26bc3b9 lint-checks: remove unused imports and unnecessary space
Summary:
The tests `test-check-pyflakes-hg.t` and `test-check-code-hg.t` are
currently failing because of this.

Test Plan: Ran all the tests.

Reviewers: #fbhgext, quark

Reviewed By: #fbhgext, quark

Differential Revision: https://phab.mercurial-scm.org/D1489
2017-11-21 18:26:20 -08:00
Jun Wu
bb772606f4 perftweaks: micro optimization about branchcache.update
This patch did two micro optimizations:

- Avoid sorting `headrevs` since it's already sorted.
- Inline `cl.node` so there is no `node` hash table lookups inside the loop.

These are good practices. Although practically we don't have that many
headrevs to notice a difference.

Differential Revision: https://phab.mercurial-scm.org/D1452
2017-11-21 15:41:57 -08:00
Jun Wu
acc62da1ae perftweaks: do not update branchcache cache keys
filteredhash, tiprev, tipnode are only used for detecting whether the
on-disk cache is up-to-date or not. Since we don't have on-disk cache, it's
unnecessary to calculate them.

Differential Revision: https://phab.mercurial-scm.org/D1451
2017-11-21 15:41:57 -08:00
Jun Wu
995d879d5e smartlog: only resolve master revset once
Differential Revision: https://phab.mercurial-scm.org/D1449
2017-11-21 15:41:57 -08:00
Jun Wu
40b5838e3e revset: optimize "head() & draft()" to "heads(draft())"
`head()` has visible overhead if there are too many heads (ex. 10k+).
Usually when we only care about draft heads, `heads(draft())` is better
since `draft()` are usually pre-calculated and the revset gets calculated as
`draft() - parents(draft())`, unrelated to the number of total heads.

Note that `head() & draft()` and `heads(draft())` are not strictly
equivalent (ex, a head with a secret phase) so it's changing the behavior a
bit. The new behavior is probably more desirable - in both smartlog and
backup case, people do want to see/backup the draft head, regardless of
whether it has secret descendants or not.

This makes `smartlogrevset` take 50ms less:

Before:

  148           | smartlogrevset                smartlog.py:438
  117            \ revs (3 times)               localrepo.py:783
  116             | mfunc (3 times)             revset.py:2202
  116             | getset (3 times)            revset.py:92
  116             | andset (2 times)            revset.py:165
  116             | getset (4 times)            revset.py:92
   62              \ andset (2 times)           revset.py:165
   62               | getset (4 times)          revset.py:92
   78                \ func (3 times)           revset.py:235
   49                  \ head (2 times)         revset.py:1117
   49                    \ branchmap (4 times)  localrepo.py:953
   46                    \ <genexpr> (16348 times) revset.py:1126
   38                     | rev (16344 times)   changelog.py:353 <<<< too many heads
   67                  \ branch (2 times)       revset.py:465
   42                    \ wrapper (2 times)    localrepo.py:141
   42                     | revbranchcache (2 times) localrepo.py:959
   40                     | __init__            branchmap.py:354
   12                     | read (2 times)      vfs.py:78
   25                    \ branchmap (2 times)  localrepo.py:953
   25                \ andset                   revset.py:165
   30              \ func (2 times)             revset.py:235
   30               | notbackedup               backupcommands.py:302
   52               | _backupheads (2 times)    backupcommands.py:389
   28            \ _masterrev                   smartlog.py:426

After:

   99       | smartlogrevset                    smartlog.py:438
   69        \ revs (3 times)                   localrepo.py:783
   68         | mfunc (3 times)                 revset.py:2202
   68         | getset (3 times)                revset.py:92
   68         | andset (2 times)                revset.py:165
   68         | getset (4 times)                revset.py:92
   13         | andset                          revset.py:165
   13         | getset (2 times)                revset.py:92
   27        \ _masterrev                       smartlog.py:426

Differential Revision: https://phab.mercurial-scm.org/D1448
2017-11-21 15:41:57 -08:00
Jun Wu
01f8f8f86a progressfile: do not swallow the progress bar if statefile is not set
The statefile-not-set case was not tested. Previously the code will make
`ui._progbar` return None, which means no progress bar.

Also move the docstring to the header so it shows up in `hg help -e`, and
use modern config registrar to avoid devel warnings.

Test Plan:
Added a test

Differential Revision: https://phab.mercurial-scm.org/D1486
2017-11-21 14:11:34 -08:00
Durham Goode
75008a9386 pushrebase: fix manifest cache
The manifestctx constructor changed at some point in the past to take a
manifestlog and a node instead of a repo and a node. The pushrebase cache code
wasn't adjusted for this. Luckily the manifestctx object only ever uses the
manifestlog to look at the revlog, and the revlog is only ever used to look at
the delta as a fastpath, so most code paths weren't affected.

We encountered this issue on our server, despite it being in there for several
months. Unfortunately I wasn't able to repro it in a test, but I did insert
manual manifestctx._revlog() lines after the construction to ensure that the
revlog can now be created, versus crashing before.

Differential Revision: https://phab.mercurial-scm.org/D1439
2017-11-21 06:58:11 -08:00
Durham Goode
02afbac4e7 treemanifest: use a connectionpool
remotefilelog and fastannotate already use a connection pool to share and reuse
connections. Treemanifest often does ondemand downloading of trees, such as
during hg log -p, and would greatly benefit from reusing connections as well.

This patch makes the connectionpool and attribute of the repo object, instead of
the fileserverclient object, which allows treemanifest to make use of it easily.

Differential Revision: https://phab.mercurial-scm.org/D1454
2017-11-21 06:52:51 -08:00
Kostia Balytskyi
818f7dee74 tweakdefaults: make util.popen4 input buffer size configurable on Windows
Summary:
This allows us to worry less about deadlocks and be more efficient in our
piped communications (like in fileserverclient.py, for example).

We can also make sure that deadlocks just plainly can't
happen by only writing a known amount of bytes to the pipe.

Test Plan:
- does not seem to break any additional tests on Linux

Reviewers: #fbhgext

Differential Revision: https://phab.mercurial-scm.org/D1436
2017-11-20 17:02:04 -08:00
Jun Wu
d393146974 sparse: try reading from working copy first
Previously sparse will resolve working file context via its parent
unconditionally if the file is outside sparsematch (introduced by D788).
That could be problematic if the file only exists in working copy.

This patch changes it to always try working copy first (fast), then fallback
to parent commit if the file is outside sparse.

Differential Revision: https://phab.mercurial-scm.org/D1464
2017-11-20 13:56:55 -08:00
Durham Goode
792cc88a63 fbamend: disable --to
We've received multiple reports that the command is broken. Let's disable it for
now.

Differential Revision: https://phab.mercurial-scm.org/D1465
2017-11-20 13:17:44 -08:00
Durham Goode
6334199a3a fbsparse: use unfiltered repo in many places
Computing the hidden commits was showing up as a hot spot in hg status because
hg sparse was accessing the changelog through a filtered repo. This probably
affects many other commands since sparse touches so many places. Since it has no
need to use a filtered repo, let's just have it use unfiltered.

This shaved off 25-30% of the hg status time in some circumstances.

Differential Revision: https://phab.mercurial-scm.org/D1437
2017-11-20 06:40:41 -08:00
Andrew Gallagher
ab16183253 hgext3rd: fix build on aarch64
Summary: On aarch64, use `rdtsc` equivalent.

Test Plan: built on aarch64

Reviewers: durham, rmcelroy, tracelog, phillco, quark

Reviewed By: tracelog, quark

Subscribers: medson, mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D6368688

Tags: aarch64

Signature: 6368688:1511039472:9b26a569ca1f185d6652ac8fb0c3c5a5d306b0cc
2017-11-19 19:01:57 -08:00
Jun Wu
18decd87e0 clindex: wrapper for future changelog index overrides
This extension is a thin wrapper around the native `changelog.index` object
that allows us to incrementally replace its methods. Since some index
methods (ex. `nodemap.__getitem__`) are called very frequently, Cython
features are used intentionally to avoid overhead. This also makes it easier
to integrate logic with C interface in the future.

As a side effect, this patch enforce `index` to be conceptually separate
from `nodemap`. So `changelog.index[node]` could be made illegal in the
future, which seems to be a good thing.

Test Plan:
Run `hg sl` with and without the extension in a large repo. Check traceprof
outputs. Notice the performance difference around index methods are roughly
10%, which seems acceptable:

Without the extension:

   25      \ node (4823 times)                  changelog.py:361
   18       | node (4931 times)                 revlog.py:631

With the extension:

   27      \ node (4823 times)                  changelog.py:361
   19       | node (4931 times)                 revlog.py:631

Also run `rt --extra-config-opt=extensions.clindex=` from core hg and make
sure changes are all caused by having an extra extension enabled.

Differential Revision: https://phab.mercurial-scm.org/D1353
2017-11-16 21:28:42 -08:00
Durham Goode
6d828d5621 lint: fix lint errors 2017-11-16 10:08:05 -08:00
Wojciech Lis
e6e8b252f8 Using workers in lfs prefetch
Added workers in lfs.
I had to remove the fine progress tracking because between processes in *nix and threads in windows (diffs will appear soon) the tracking of 1MB progress is quite tricky.
With our network tracking progress per file is way enough to see things moving.

This change gives close to 50% speedup on hg sparse --enable-profile when prefetch is run. My current understanding is that prefetch is ran when profile is enabled for the first time.

Test Plan:
Enable profile:
time hg sprase --enable-profile SparseProfiles/TestProfile.sparse
The profile contains 42k files including 9GB of lfs files
On my machine the time improves by 47% while still being dominated by lfs
download time

# Tip: In Git and Mercurial, use a branch like "T123" to automatically associate
# changes with the corresponding task.

Differential Revision: https://phab.mercurial-scm.org/D1424
2017-11-16 06:43:14 -08:00
Phil Cohen
5740873245 rage: sort packs by size
This makes it easy to see if there are realy big packfiles.

Differential Revision: https://phab.mercurial-scm.org/D1422
2017-11-14 21:32:54 -08:00
Phil Cohen
baa9059871 pushrebase: make conflict message a bit more helpful
A very minor change, but we should probably explain that local rebasing is
needed. (You might be forgiven for thinking that `pushrebase` would have
done that for you.)

Differential Revision: https://phab.mercurial-scm.org/D1352
2017-11-14 18:34:41 -08:00
Jeremy Fitzhardinge
d38c94c1d8 checkmessagehook: print more detail on what bad chars were found
Print which bad characters were found on what line, so that users can
fix the problem just from the hook message.

Differential Revision: https://phab.mercurial-scm.org/D1419
2017-11-14 16:52:45 -08:00
Durham Goode
2ee919bf0a treemanifest: support "{manifest % '{node}'}" template
When we changed the treemanifest {manifest} template output it broke the ability
to specifically ask for the node. This is important for tools migrating between
the old and new format. Let's add that back in.

Let's also make tweakdefaults change the '{manifest}' default template for all
repo's, not just tree repos.

Differential Revision: https://phab.mercurial-scm.org/D1418
2017-11-14 15:55:34 -08:00
Martijn Pieters
234ca8ad39 sparse: list available and active profiles
This lets you list your currently active profiles, as well as let you discover
new profiles, provided sparse.profile_directory is set.

Includes JSON output. Future revisions can build on this to provide richer
metadata (parsed from the profile files).

Differential Revision: https://phab.mercurial-scm.org/D1250
2017-11-10 14:39:11 +00:00
Thomas Jacob
a32f14a7e1 arcdiff: add CA path/timeout support to Phabricator conduit calls
Summary:
Fixing SSL verify bug

https://fb.facebook.com/groups/scm/permalink/1472198416163107/

Test Plan:
PYTHONPATH=/home/tja/local/facebook-hg-rpms/fb-hgext/ /home/tja/local/facebook-hg-rpms/hg-crew/hg diff --since-last-arc-diff
no longer fails with SSL error


$ source hg-dev
$ cd fb-hgext/tests
(hg-dev) tja@devvm2620:tests  (6b76aa8)$ rt
.s.............................................................ss.s.....s.......s....ss..s..s......s.....s..ss...s........s.ss......s..s...................................s........................................................................
Skipped test-p4fastimport-gitfusion-race-condition.t: missing feature: Perforce server and client
Skipped test-p4fastimport-import-branch.t: missing feature: Perforce server and client
Skipped test-p4fastimport-blobcommit.t: missing feature: Perforce server and client
Skipped test-p4fastimport-blobcommit-lfs.t: missing feature: Perforce server and client
Skipped test-p4fastimport-import.t: missing feature: Perforce server and client
Skipped test-p4fastimport-import-incremental.t: missing feature: Perforce server and client
Skipped test-p4fastimport-limit.t: missing feature: Perforce server and client
Skipped test-p4fastimport-import-lfs.t: missing feature: Perforce server and client
Skipped test-lfs-test-server.t: missing lfs-test-server
Skipped test-p4fastimport-import-modes.t: missing feature: Perforce server and client
Skipped test-infinitepush-sql.t: missing getdb.sh
Skipped test-p4fastimport-criss-cross.t: missing feature: Perforce server and client
Skipped test-p4fastimport-transaction.t: missing feature: Perforce server and client
Skipped test-p4fastimport-case-insensitive-rename.t: missing feature: Perforce server and client
Skipped test-infinitepush-backup-sql.t: missing getdb.sh
Skipped test-p4fastimport-import-deletes.t: missing feature: Perforce server and client
Skipped test-p4fastimport-import-client-mapping.t: missing feature: Perforce server and client
Skipped test-p4fastimport-case-insensitivity.t: missing feature: Perforce server and client
Skipped test-p4fastimport-import-special-characters.t: missing feature: Perforce server and client
Skipped test-p4fastimport-import-parallel.t: missing feature: Perforce server and client
Skipped test-p4fastimport-import-badclient.t: missing feature: Perforce server and client
# Ran 223 tests, 21 skipped, 0 failed.

Reviewers: #mercurial, mitrandir

Reviewed By: mitrandir

Subscribers: mitrandir, mjpieters, awestern, medson, #sourcecontrol, samuelkelly

Differential Revision: https://phabricator.intern.facebook.com/D6272329

Signature: 6272329:1510245174:2969aa7ab17b45f6656e93301806c0a9b157db29
2017-11-09 08:43:57 -08:00
Sergey Nikolaienkov
d224a11248 tweakdefaults: provide advice abouthg uncommit
Advice using `hg uncommit` when a command to prune (like `hg strip`) but keeping the changes (with `--keep` option)

Test Plan:
Run `hg strip -k\--keep` a "'hg uncommit' provides a better UI for undoing commits while keeping the changes" should show up.
Run `hg strip` w/o `--keep` option,  "'hg hide' provides a better UI for hiding commits" should be shown

Differential Revision: https://phab.mercurial-scm.org/D1335
2017-11-08 07:57:03 -08:00
Durham Goode
b13b24ccc1 perftweaks: fix hg book regression
When the dirstate got refactored, we lost the check that only logged the
dirstate size if the dictionary was already populated. This caused a regression
in hg bookmark times (since it normally doesn't populate the dirstate map).
2017-11-07 15:35:26 -08:00
Durham Goode
5987282c25 treemanifest: test commit hooks with pushrebase 2017-11-06 17:26:08 -08:00
Mark Thomas
868ac70976 rage: add info useful for infinitepushbackup debug
Adds information that is useful for debugging infinitepush backup to the rage
output.  In particular:

- Full node hashes in the unfiltered smartlog, so that they can be looked up
  in infinitepush.

- The contents of infinitepushbackupstate.

- The last 100 lines of the infinitepush backup logs for this repo.

Differential Revision: https://phab.mercurial-scm.org/D1264
2017-11-03 09:34:36 -07:00
Phil Cohen
1b759fa578 progressfile: fix last change 2017-11-02 19:27:20 -07:00
Phil Cohen
6c65d42bea progressfile: never wrap if progress.statefile isn't set or is empty
I wasn't 100% sure this is side effect-free if you enable the extension but
don't specify a progressfile, so let's be extra safe.

Differential Revision: https://phab.mercurial-scm.org/D1308
2017-11-02 19:24:10 -07:00
Pulkit Goyal
d3b6e1c63c fbhistedit: add support for json input to histedit
This patch adds support to histedit command to take input from json. The JSON
should be of following format:

{ "histedit": [
                {"action": "...", "node": "..."},
                {"action": "...", "command": "..."},
                {...}
              ]
}

For actions except "exec" and "execr", "node" is required and for "exec" and
"execr", "command" should be there.

The support is plugged in directly and is not hidden behind a config flag. After
this support, the parser which parses the commands file will assume that JSON is
given and will fallback to original parsing if it fails to convert the data in
the file to JSON.
In case where input is JSON but a key is missing, status message is shown and we
fallback to normal parsing.

Both small and large verbs are supported for the action part in JSON.

Differential Revision: https://phab.mercurial-scm.org/D1263
2017-11-03 05:30:12 +05:30
Pulkit Goyal
b00998e4c9 fbhistedit: clean up mess around importing
Differential Revision: https://phab.mercurial-scm.org/D1262
2017-11-03 05:30:12 +05:30
Pulkit Goyal
bb8189683d copytrace: register the config options
One config option is left as that will be dropped in an upcoming patch.

Differential Revision: https://phab.mercurial-scm.org/D1278
2017-11-02 17:00:12 -07:00
Pulkit Goyal
ca6eff4576 copytrace: make import follow the style of hg-core
Differential Revision: https://phab.mercurial-scm.org/D1277
2017-11-02 17:00:12 -07:00
Durham Goode
e4292521ee sparse: fix typo 2017-11-02 13:42:06 -07:00
Durham Goode
81329af9b4 sparse: prevent devel warning
It looks like the devel warning detection complains about reading
extensions.fbsparse with a default value. Let's just suppress it.

Differential Revision: https://phab.mercurial-scm.org/D1294
2017-11-02 13:39:45 -07:00
Jun Wu
47b9325724 restack: use multidest rebase to implement restack
With the multidest rebase (D470), restack could be implemented as specifying
the source (`orphan() - obsolete()`) and a revset specifying destination for
each source revision.

This patch changes restack implementation to use that. The revset is
implemented as a private function `_destrestack`, like `_destrebase` in
`rebase.py`.

Most test changes are because the topo-sort in `rebase.py` removes some
unnecessary steps. So the resulting revision numbers are smaller.

There is one interesting test case that gets changed:

```
    D
    |      # amend: B1 -> B2 -> B1
 B2 B1 B3  # amend: B1 -> B3
  \ | /
    A
```

Previously, restack will move D to be on top of B3. Now restack will not
move it because `D` is considered stable (not orphaned) since none of its
ancestors are obsoleted. The new behavior seems to be more desirable.

More tests are added to test restack source revisions (should be in a same
stack) and some "prune" cases.

The transaction logic is also made more robust so `test-copytrace-amend.t`
does not cause a broken rebase state.

Since the rebase operation runs in a same rebase state, restack can be
continued via `rebase --continue` correctly after resolving merge conflicts.
This is reflected in a newly added test.

Test Plan:
With hg-dev, run `./script/unit.py`

Differential Revision: https://phab.mercurial-scm.org/D1139
2017-11-02 11:54:31 -07:00
Durham Goode
df82fc6557 treemanifest: remove sendtrees
Previously we were relying on config values to determine when to send or not
send tree and flat manifests. This resulted in complicated permutations to test.
Let's remove these config values and always send trees if we have them. A future
patch will do the same for flat manifests.

Differential Revision: https://phab.mercurial-scm.org/D1265
2017-11-01 17:10:05 -07:00
Jun Wu
0dd78513e8 rage: fix undefined sparse 2017-11-01 12:11:34 -07:00