Commit Graph

390 Commits

Author SHA1 Message Date
Laurent Charignon
71bef9dc56 remove flaky test + fix check code 2016-04-08 12:43:10 -07:00
Laurent Charignon
edd4f20070 fastmanifest:fix test failure 2016-04-08 11:51:28 -07:00
Laurent Charignon
1dde5e0f97 fastmanifest: better debugging output
Summary:
Before this patch the test output wasn't great looking, with this patch
one can easily see if our caching strategy worked

Test Plan: This is only a test change

Reviewers: #sourcecontrol, ttung

Subscribers: mjpieters

Differential Revision: https://phabricator.fb.com/D3129319

Tasks: 10604335
2016-04-08 11:49:42 -07:00
Laurent Charignon
59bcb8e5c0 fastmanifest: add python to C layer
Summary: This adds the CPythong interface layer for fastmanifest

Test Plan: Compiles

Reviewers: ttung, durham

Differential Revision: https://phabricator.fb.com/D3157095
2016-04-08 11:48:31 -07:00
Laurent Charignon
f630e13113 fastmanifest: add wrapper to instantiate flatmanifest or treemanifest
Summary:
This patch adds a wrapper that allows us to instantiate either flat
or fast manifest when a manifest is read.
This needs a change in core to work. In manifest.manifest in core we are
currently using two abstractions to create manifests: calling manifestdict()
or _newmanifest(). This was a hack added for the developement of treemanifest
and needs to be changed to make things saner.

Test Plan:
I added a new test. I also ran the whole test suite in core with
the extension, all the tests passed except test-treemanifest.t, failing on the
assert in _flatmanifest as expected.
python run-tests.py -j32 -l
   --extra-config-opt=extensions.fastmanifest=/Users/lcharignon/facebook-hg-rpms/fb-hgext/fastmanifest.py

Reviewers: rmcelroy, ttung, durham

Subscribers: mjpieters

Differential Revision: https://phabricator.fb.com/D3115446

Tasks: 10589064
2016-04-08 11:46:18 -07:00
Jun Wu
ba96318bbe test-share-reflog-remotebookmark: check dependencies
Summary:
The test requires remotenames and hg-new-workdir. Check them before running
the test.

Test Plan:
Run the test and make sure it is skipped if either of the dependencies is
missing

Reviewers: #sourcecontrol, ttung, rmcelroy

Reviewed By: rmcelroy

Subscribers: mjpieters

Differential Revision: https://phabricator.fb.com/D3153904

Tasks: 10749152

Signature: t1:3153904:1460072643:b79eb2d161330ef7a6270711590f24b57b1e768f
2016-04-07 16:53:54 -07:00
Jun Wu
c73f628483 test-perftweaks: fix file permission test case
Summary:
test-perftweaks fails on both legocastle and my laptop:

```
-  total 12
-  drwxrwsr-x. 2 * . (glob)
-  drwxrwsr-x. 3 * .. (glob)
-  -rw-rw-r--. 1 * branchheads-served (glob)
+  total 4
+  drwxrwsr-x 2 quark quark  60 Apr  7 23:15 .
+  drwxrwsr-x 3 quark quark 120 Apr  7 23:15 ..
+  -rw-rw-r-- 1 quark quark   1 Apr  7 23:15 branchheads-served
```

Fix it by making `.` optional. It seems we only care about the `s` bit.

Test Plan: Run `test-perftweaks.t`

Reviewers: #sourcecontrol, rmcelroy, ttung

Reviewed By: rmcelroy

Subscribers: rmcelroy, mjpieters

Differential Revision: https://phabricator.fb.com/D3153798

Tasks: 10749152

Signature: t1:3153798:1460073004:505d3dfee3dfd9475ccf700a1a28cf1baf1d8777
2016-04-07 16:53:18 -07:00
Jun Wu
b603929009 mergedriver: fix test caused by upstream change
Summary:
Upstream change 3ceac0 removes the `labels` parameter from
`mergestate.*resolve` methods. Let's update our tests.

Test Plan: Run `test-mergedriver.t` with the latest hg

Reviewers: simonfar, #sourcecontrol, ttung, rmcelroy

Reviewed By: rmcelroy

Subscribers: mjpieters

Differential Revision: https://phabricator.fb.com/D3153698

Tasks: 10749152

Signature: t1:3153698:1460071369:bca8f52c2cf730513385afbdd809747386a57027
2016-04-07 16:23:49 -07:00
Jun Wu
af343f89df fix code that didn't pass test-check-code-hg.t
Summary:
Fix errors reported by test-check-code-hg.t

```
+  logtoprocess.py:45:
+   >         # https://msdn.microsoft.com/en-us/library/windows/desktop/ms684863(v=vs.85).aspx
+   line too long
   Skipping statprof.py it has no-che?k-code (glob)
+  tests/test-logtoprocess.t:38:
+   > Use head to ensure we wait for all lines to be produced, and sort to avoid
+   trailing whitespace on non-output
+  tests/test-tweakdefaults-blame.t:41:
+   >   $ hg blame -p a
+   trailing whitespace on non-output
+  [1]
```

Test Plan: Run `test-check-code-hg.t` and make sure it pass

Reviewers: #sourcecontrol, rmcelroy, ttung

Reviewed By: rmcelroy

Subscribers: rmcelroy, mjpieters

Differential Revision: https://phabricator.fb.com/D3153195

Tasks: 10749152

Signature: t1:3153195:1460068592:eae6aa682c1f935f7812b72534dd761d898b62a7
2016-04-07 15:52:47 -07:00
Ryan McElroy
8fab426a57 copytrace: delete extension and tests
Summary:
This was bitrotting. We have it in source control if we want to revive
the project.

Test Plan: run-tests.py

Reviewers: #sourcecontrol, ttung

Subscribers: mjpieters

Differential Revision: https://phabricator.fb.com/D3126182
2016-04-06 03:55:27 -07:00
timeless@gmail.com
cd35432d91 spelling: fix numerous spelling errors 2016-04-04 12:48:01 -07:00
Martijn Pieters
affec78d17 logtoprocess: execute processes asynchronously
Summary:
Create a Popen() object, and each time ui.log() is called poll these to clear
out any that are done. When dispatch ends, kill any that remain.

Test Plan: Run $HG/tests/run-tests.py test-logtoprocess.t

Reviewers: durham, #sourcecontrol, ttung, quark

Reviewed By: quark

Subscribers: ikostia, simonfar, mjpieters

Differential Revision: https://phabricator.fb.com/D3091363

Signature: t1:3091363:1459781710:4f04e37db3fb1f81abadfe168c5dbc00c376cda7
2016-04-04 15:56:15 +01:00
Ryan McElroy
5525a51fb6 perftweaks: use proper repo.vfs for noderevs cache
Summary:
Previously, we were calling open directly. Let's go via the vfs to
avoid nasty surprises in the future.

Test Plan:
Exisitng tests.
Also added a test, but that just verifies that the repo.vfs stuff doesn't
mess up the permissions when the umask is correct.

Reviewers: #sourcecontrol, ttung, durham

Reviewed By: durham

Subscribers: durham, mjpieters

Differential Revision: https://phabricator.fb.com/D3126492

Tasks: 10661429

Signature: t1:3126492:1459531801:0931f9b02c544f98651c7630e74283feef426175
2016-04-01 11:49:05 -07:00
Tony Tung
91a9f27549 [fastmanifest] suppress check-code on fastmanifest
Summary: It's not going to pass.

Test Plan: run check-code

Reviewers: #sourcecontrol, rmcelroy

Reviewed By: rmcelroy

Subscribers: rmcelroy, mitrandir, mjpieters

Differential Revision: https://phabricator.fb.com/D3126493

Tasks: 10662043

Signature: t1:3126493:1459523935:54449c39abfef97b596e9c34743583afa8b983d5
2016-04-01 11:19:53 -07:00
Kostia Balytskyi
3137e3c69e tweakdefaults: make blame be able to show Phabricator diffs
Differential Revision: https://phabricator.fb.com/D3076727
2016-04-01 07:41:29 -07:00
Laurent Charignon
c640cac22d test: remove test-copytrace-bundle2.t, low signal, frequent breakage
Summary:
We remove this test because it frequently failed in the past and
we never really fixed it. Since we don't want to ship the feature in the near
future we might as well remove it.

Test Plan: Since we don't ship it it is okay

Reviewers: #sourcecontrol, ttung, durham

Reviewed By: durham

Subscribers: quark, rmcelroy, mjpieters

Differential Revision: https://phabricator.fb.com/D3082539

Signature: t1:3082539:1458670710:1b5be4f47d5a38e8dc08f72206523afa121d31a4
2016-03-31 16:00:24 -07:00
Laurent Charignon
82f0ca5a93 fastmanifest: introduce revset of what revision to cache
Summary:
For the moment the revset is just the draft revisions, it will evolve
to include likely rebase destination, branching points etc ...

Test Plan:
We add the result of querying the revset to the test to evaluate how
well the prediction match what is actually being accessed

Reviewers: durham, rmcelroy, ttung

Reviewed By: ttung

Subscribers: mjpieters

Differential Revision: https://phabricator.fb.com/D3115578

Tasks: 10604335

Signature: t1:3115578:1459374926:f9df976aae07db05a44f1fb69a4c83c2a11969dc
2016-03-31 16:00:06 -07:00
Laurent Charignon
8533edcb44 fastmanifest: add test for rebase access pattern
Summary: Add test for rebase to see how it accesses manifests

Test Plan: This just adds a test

Reviewers: durham, ttung, rmcelroy

Differential Revision: https://phabricator.fb.com/D3109912
2016-03-31 14:23:08 -07:00
Mateusz Kwapich
cdc87102de logtoprocess: use glob in test 2016-03-31 13:37:26 -07:00
Mateusz Kwapich
b4ec1447c3 fbconduit: the deamon-postexec is a list now
Summary: upstream change broke tests

Test Plan: tests are fixed now

Reviewers: #sourcecontrol, quark, ttung, durham

Reviewed By: durham

Subscribers: mjpieters

Differential Revision: https://phabricator.fb.com/D3122221

Signature: t1:3122221:1459455094:a52eef1692b0bbf1acf8070760c3bfdc68d9c697
2016-03-31 13:34:21 -07:00
Mateusz Kwapich
3abf88d7d2 fbhistedit: use inhibit in histedit stop test
Summary:
It's no longer possible to amend during histedit without evolve,
also we need to make sure amending works with inhibit

Test Plan: tests

Reviewers: #sourcecontrol, lcharignon, ttung, durham

Reviewed By: durham

Subscribers: durham, lcharignon, rmcelroy, mjpieters

Differential Revision: https://phabricator.fb.com/D3120059

Signature: t1:3120059:1459455056:d178733b1b98cd269eae9f68b3b2ec6d8a140cb4
2016-03-31 13:32:49 -07:00
Mateusz Kwapich
c9cdbc1a15 fbamend: pass the "interface = curses" in tests
Test Plan: tests

Reviewers: lcharignon, rmcelroy

Reviewed By: rmcelroy

Subscribers: rmcelroy, mjpieters, #sourcecontrol

Differential Revision: https://phabricator.fb.com/D3119950

Signature: t1:3119950:1459407710:7ac150111e0f955f6b17cdec9a13950a59eb4bc4
2016-03-31 11:29:05 -07:00
Mateusz Kwapich
6f8286e7c1 smartlog: first citizen support the multiple roots in the repo
Summary:
This replaces the dirty hack preventing the smartlog from crashing on repo with
multiple roots with proper logic finding common ancestors one per group of
commits with the same root.

Test Plan: unit tests

Reviewers: #sourcecontrol, mjpieters, durham, ttung

Subscribers: mjpieters

Differential Revision: https://phabricator.fb.com/D3119913
2016-03-31 11:26:15 -07:00
Laurent Charignon
de4ed36f0b test: make the tests pass check code
Summary: Someone checked in this code that does not pass check code

Test Plan: fix check code

Reviewers: #sourcecontrol, ttung

Subscribers: mjpieters

Differential Revision: https://phabricator.fb.com/D3108018
2016-03-29 09:06:21 -07:00
Laurent Charignon
ae6dfcd369 fastmanifest: add extension
Summary:
This extension will contain the logic for the fastmanifest. For the moment it
contains very simple logic to log manifest access and see if our assumptions are
correct about what manifest are accessed during typical workflow. This will
help build the code to figure out what manifests are worth caching.

Test Plan: add a new test

Reviewers: durham, rmcelroy, ttung

Subscribers: mjpieters

Differential Revision: https://phabricator.fb.com/D3107990

Tasks: 10604335
2016-03-28 18:44:56 -07:00
Jing Qian
fa40278190 copy remote_bookmark reflog when sharing 2016-03-23 22:47:54 -07:00
Martijn Pieters
f0aac1fe38 New extension: Suppress the output generated by a broken commmand.
Summary:
When a command fails, the commandfailure signal is logged. Use the information
provided by this log call to suppress the warning and all traceback
information.

In combination with the logtoprocessui extension, this should replace the less
generic errorredirect extension.

Depends on D3082490

Test Plan: run $HG/tests/runtest.py test-suppresscommandfailure.t

Reviewers: #sourcecontrol, quark, ttung, durham

Reviewed By: durham

Subscribers: mjpieters, #sourcecontrol

Differential Revision: https://phabricator.fb.com/D3084144

Signature: t1:3084144:1458755837:39fea58ed89d03a611bfcfffa88af68a2d55fddc
2016-03-23 14:36:01 -07:00
Martijn Pieters
ba36592fba New extension: handle any ui.log event in an external process.
Summary: This would allow us to trace various events in Mercurial via external commands.

Test Plan: run $HG/tests/runtest.py test-logtoprocess.t

Reviewers: #sourcecontrol, ttung, durham

Reviewed By: durham

Subscribers: quark, mjpieters

Differential Revision: https://phabricator.fb.com/D3082490

Signature: t1:3082490:1458686100:c727b033d97d0b15b294f8b2826cf20614caf269
2016-03-22 17:27:08 -07:00
Durham Goode
1069b76390 pushrebase: support pushing to non-pushrebase repos
Summary:
If pushrebase was enabled on the client, it became impossible to push
to a non-pushrebase repo using --to, like remotenames allows. The fix is to
detect if remotenames is enabled and allow the default --to behavior.

Test Plan: Added a test

Reviewers: #sourcecontrol, ttung

Subscribers: mjpieters

Differential Revision: https://phabricator.fb.com/D3057066

Tasks: 9455435
2016-03-22 10:57:29 -07:00
Adam Simpkins
db56b7802d [pullcreatemarkers] also obsolete parents of commits landed in this pull
Summary:
When a pull causes commits on the tip of a branch to be obsoleted due to
landing, make sure that parent commits that were landed in previous pulls also
get hidden.  The parent commits would already have obsolete markers, but they
would have been inhibited because there were non-obsolete children.  Once their
children are landed their obsolete markers can now be deinhibited.

Test Plan: Added a new test case.

Reviewers: #sourcecontrol, durham, lcharignon, ikostia, pyd, ttung

Subscribers: net-systems-diffs@, yogeshwer, mjpieters

Differential Revision: https://phabricator.fb.com/D3028597
2016-03-21 18:08:04 -07:00
Durham Goode
6112a4e50c fbamend: fix fbamend not passing a rebase destination
Summary:
fbamend was not passing a rebase destination if you did not have an active
bookmark (it would just rebase onto the named branch tip). This broke when
upstream Mercurial started requiring you specify a rebase destination when it
was ambiguous.

The fix is to rebase onto the current commit (which is always the correct
behavior, since amend --rebase will have left you on that commit after the
amend, and amend --fixup discovers what needs rebasing by looking at your
current commit).

Test Plan: Added a test

Reviewers: #sourcecontrol, ttung

Subscribers: mjpieters

Differential Revision: https://phabricator.fb.com/D3033728

Tasks: 10366715
2016-03-09 17:53:11 -08:00
Ryan McElroy
1d8ca1bad6 fbconduit: fix test http service
Summary: 1e42206a9778 in core hg broke this.

Test Plan: run the test and it doesn't fail

Reviewers: #sourcecontrol, ttung, durham

Reviewed By: durham

Subscribers: durham, mjpieters

Differential Revision: https://phabricator.fb.com/D3012325

Tasks: 10299400

Signature: t1:3012325:1457118454:6b551be9d826d17ecff18f271b31d9dc0218f461
2016-03-07 02:49:58 -08:00
Adam Simpkins
3a980ca96a [pullcreatemarkers] fix issues creating obsolescence markers
Summary:
Use a transaction, to make sure commits get hidden properly.  Currently it
fails to hide all commits if multiple commits on the same branch are all
obsoleted in the same pull.  When creating obsolescence markers for some of the
earlier commits, it thinks they still have non-hidden successors, and doesn't
know that these successors are also going to be hidden by the same pull
operation.

Also avoid walking all draft commits if nothing new was landed in this pull.

Test Plan:
Updated the tests to exercise the case where a pull obsoletes multiple commits
all at the tip of a branch.

Reviewers: #sourcecontrol, lcharignon, ikostia, durham, ttung

Reviewed By: durham

Subscribers: durham, net-systems-diffs@, yogeshwer, mjpieters

Differential Revision: https://phabricator.fb.com/D3013783

Signature: t1:3013783:1457136740:cbcd0220e82d044d25a34692793e70f5be61d63e
2016-03-04 16:28:58 -08:00
Adam Simpkins
84b5cc23ce cleanup: make test-dirsync.t pass check code
Summary: Quote ".^" arguments that check-code.py complains about.

Test Plan: Ran the tests, confirmed the check-code test no longer fails.

Reviewers: lcharignon, durham, balpert

Reviewed By: balpert

Subscribers: net-systems-diffs@, yogeshwer, mjpieters

Differential Revision: https://phabricator.fb.com/D3012566

Signature: t1:3012566:1457117778:fe0bdc37c02f1aa2f2a9d97f7cdf2910794c4966
2016-03-04 13:52:11 -08:00
Ryan McElroy
b741f8bba8 morestatus: fix test output 2016-03-04 10:34:25 -08:00
Tony Tung
2e7cda45b5 [manifestdiskcache] support --repository/-R
Summary: When someone specifies a repository with --repository/-R, the working directory could be anything.  Therefore, the worker process to prune the cache needs to know which directory to switch to.

Test Plan: wrote a test case with this scenario.  fails without patch, succeeds with it.

Reviewers: #sourcecontrol, durham

Reviewed By: durham

Subscribers: mitrandir, mjpieters

Differential Revision: https://phabricator.fb.com/D2991853

Tasks: 10230869

Signature: t1:2991853:1456799093:dd03ac1d003f2efd0de0bad740d4792ae81b172e
2016-02-29 22:42:04 -08:00
Ben Alpert
56e0b352ae dirsync: Behave better with already-inconsistent mirror
Summary:
If a mirror of a file is missing, dirsync now behaves better:

- When deleting the source, it allows the commit and does no mirroring since the two paths are already in sync (previously, it raised an exception when trying to delete the mirror)
- When updating the source, it creates a file in the mirrored location to match
- When updating (creating) the mirrored file, the source (which already exists) is updated too

Fixes https://www.facebook.com/groups/sourcecontrol/permalink/929877003728587/.

Test Plan: `../../hg/tests/run-tests.py test-dirsync.t`

Reviewers: #sourcecontrol, durham, lcharignon, ttung

Reviewed By: durham

Subscribers: poshannessy, mjpieters, durham

Differential Revision: https://phabricator.fb.com/D2794928

Signature: t1:2794928:1456446576:c18d06a42eb89b5168c25d048ba4fa1fa3f0c6d3
2016-02-25 16:50:43 -08:00
Tony Tung
137ac1b118 use ssh to clone repos
Summary: This allows us to differentiate between remote output and local output.

Test Plan: pass unit test

Reviewers: #sourcecontrol, durham

Reviewed By: durham

Subscribers: mitrandir, mjpieters

Differential Revision: https://phabricator.fb.com/D2955753

Signature: t1:2955753:1455918979:235a4d8ca317a0568e5d3a72d1cd1e2baf09a910
2016-02-19 14:31:18 -08:00
Tony Tung
eae40a3eac mimick our config where remotenames is not enabled on the server
Summary: On the server, we explicitly disable remotenames.  We should test that identical config here.

Test Plan: pass unit test

Reviewers: #sourcecontrol, durham

Reviewed By: durham

Subscribers: mitrandir, mjpieters

Differential Revision: https://phabricator.fb.com/D2955740

Signature: t1:2955740:1455918916:0b1d50d3855dddc579b451f036b46ea0275f2507
2016-02-19 14:24:59 -08:00
Tony Tung
7061c1092f store the pushvars in the bundle2 operation object
Summary:
The pushvars extension ensures that it precedes the hooks.
Unfortunately, that means pushrebase does not have access to the hook
variables unless it obtains the transaction.  If it does that, then the
prepushrebase step will have the lock, defeating the purpose of the hook.

By storing the pushvars in the operation, we can retrieve it without
starting the transaction.

Test Plan: passes the BYPASS_REVIEW test when it is moved to prepushrebase

Reviewers: #sourcecontrol, durham, lcharignon

Reviewed By: durham

Subscribers: durham, mitrandir

Differential Revision: https://phabricator.fb.com/D2890191

Tasks: 9872386

Signature: t1:2890191:1454526611:503a30015494eef467ad545b92077bf42cdd30d5
2016-02-18 21:32:11 -08:00
Durham Goode
6579cd0c4e tests: fix blackbox output in perftweaks test
Upstream fixed a bug with blackbox so it always flushes it's output now. This
caused some slight test changes.
2016-02-17 15:31:37 -08:00
Durham Goode
d4c8e07f8d tests: update mergedriver test with output from upstream 2016-02-17 15:22:56 -08:00
Simon Farnsworth
0776320a1c Update githelp and its tests to match show
Summary: githelp had desynced from show. Update githelp and its test case to match modern show.

Test Plan: Run the upadted test case

Reviewers: rmcelroy, lcharignon, quark

Reviewed By: quark

Subscribers: quark, mjpieters, #sourcecontrol

Differential Revision: https://phabricator.fb.com/D2937517

Signature: t1:2937517:1455570702:8414a3f6f05736b9c728950f7019c602234f48fb
2016-02-16 04:00:21 -08:00
Jun Wu
bcd74ba1c5 rage: silence exceptions when reading details
Summary:
rage is a basic tool to collect diagnostic information that should not break.
To ensure it works all the time, this patch:

  - unbreaks hg rage from upstream change dad6404ccd
  - wraps every non-trivial functions with `try`, `catch`
  - adds a naive test about `hg rage --preview`

Test Plan:
Run `test-rage.t`. Comment out `import blackbox` and check:

```
hg blackbox -l20:
---------------------------
(Failed. See footnote [1])

[1]: global name 'blackbox' is not defined
Traceback (most recent call last):
  File "/home/quark/fb-hgext/rage.py", line 22, in _failsafe
    return func()
  File "/home/quark/fb-hgext/rage.py", line 97, in <lambda>
    _failsafe(lambda: hgcmd(blackbox.blackbox, limit=20))),
NameError: global name 'blackbox' is not defined
```

Reviewers: #sourcecontrol, wez, ttung, durham

Reviewed By: durham

Subscribers: durham, wez, mjpieters

Differential Revision: https://phabricator.fb.com/D2928778

Tasks: 10028490

Signature: t1:2928778:1455240651:d39ceed5d045e279160690e0a93a4e326d307db3
2016-02-11 21:00:33 +00:00
Simon Farnsworth
26167ac6dd show: Learn to do hg show REV FILES
Summary:
Make hg show closer in behaviour to git show - it's useful to restrict the files it examines, not just the revision

Also update githelp.py to match.

Test Plan: Run the updated testcases.

Reviewers: lcharignon, pyd, rmcelroy, durham

Reviewed By: durham

Subscribers: #sourcecontrol

Differential Revision: https://phabricator.fb.com/D2917091

Tasks: 9323445

Signature: t1:2917091:1455240831:305be81ada4b832a9685f5bf38f3c3232c47fdfb
2016-02-12 03:07:11 -08:00
Mateusz Kwapich
654ead9d1f make smartlog not crash when having two histories in the repo
Summary:
Quick fix for smartlog to make it work when having to separate repositories in the repo.
It's not perfect (it shows the second history before master) but it's better than nothing.

Test Plan: All tests are passing . One test added.

Reviewers: #sourcecontrol, durham, ttung, ericsumner

Reviewed By: durham

Subscribers: mjpieters, durham

Differential Revision: https://phabricator.fb.com/D2904476

Tasks: 9812246

Signature: t1:2904476:1455239810:9f88d87b15646bfd107f0b1dc888804d392c35da
2016-02-11 17:31:42 -08:00
Kostia Balytskyi
dbc07b1275 smartlog: add singlepublicsuccessor template keyword
Differential Revision: https://phabricator.fb.com/D2926819
2016-02-11 07:11:59 -08:00
Kostia Balytskyi
b24461e881 histgrep: add a config option to allow histgrepping on the whole repo
Differential Revision: https://phabricator.fb.com/D2921878
2016-02-11 03:39:59 -08:00
Simon Farnsworth
c7f8da79d1 Recommend an alternative if people want -U on show
Summary: We've had a query about getting more context on hg show. While upstream is unlikely to respond well to requests for a new toplevel option, it is actually possible to use --config to get more context. Tell people about this with githelp.

Test Plan: Run the newly updated tests.

Reviewers: pyd, rmcelroy, durham

Reviewed By: durham

Subscribers: #sourcecontrol

Differential Revision: https://phabricator.fb.com/D2916982

Tasks: 9907950

Signature: t1:2916982:1455077490:8b804e09ad656a2b5a7aca8f2e4e81da6e541806
2016-02-10 02:02:37 -08:00
Siddharth Agarwal
cde6b3242f mergedriver: make it clear that artifacts must be regenerated 2016-02-10 00:18:51 -08:00