Commit Graph

11 Commits

Author SHA1 Message Date
Jun Wu
71c96fe8ea arc: implement an arcanist unittest engine for mercurial
Summary:
This makes `arc unit` work for the repo.
Hopefully it helps improve the code quality.

Test Plan:
Run `arc unit`. Make some changes locally to confirm
it can handle skipped and failed tests.

Reviewers: #sourcecontrol, simonfar

Reviewed By: simonfar

Subscribers: simonfar, mjpieters

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

Signature: t1:3889495:1474454314:b3fb7e538979c775f8301d9abdad0d6eda71e411
2016-09-19 22:41:58 +01:00
Ryan McElroy
86dad1d355 merge .hgignore contents
Test Plan: hg st

Reviewers: #mercurial, ttung, simonfar

Reviewed By: simonfar

Subscribers: mjpieters

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

Tasks: 12855049

Signature: t1:3777380:1472216748:24e80031279d53a5db0743cbbbfa5afcfeeefdf9
2016-08-26 06:27:59 -07:00
Jun Wu
0d3a392454 hgignore: ignore linelog non-source files
Summary: This diff adds an `.hgignore` file for the `linelog` directory.

Test Plan: `make local`, and run `hg status`, make sure no unwanted files are printed.

Reviewers: #mercurial, ttung, akushner

Reviewed By: akushner

Subscribers: mjpieters

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

Signature: t1:3699575:1471151389:7e4de7b75d671d3f0db18337e57c65e9972de059
2016-08-10 22:32:21 +01:00
Tony Tung
fc8c0d61a1 [fastmanifest] rename fastmanifest c library directory to cfastmanifest
Summary: This allows us to use fastmanifest as a directory to drop in the python module.

Test Plan: compiles, passes existing tests.

Reviewers: lcharignon

Reviewed By: lcharignon

Subscribers: mitrandir, mjpieters

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

Signature: t1:3351021:1464284417:6cbcde514ab1fd7b5caa6c83cb5577f3502dbc58
2016-05-26 11:33:07 -07:00
Tony Tung
d8830b241e add .testtimes to .hgignore
Summary: arc diff adds this

Test Plan: meh

Reviewers: #sourcecontrol, ikostia

Reviewed By: ikostia

Subscribers: mitrandir, mjpieters

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

Signature: t1:3207936:1461258994:ae945f903b51271dd3d0d460ccf1185cd993f387
2016-04-21 10:22:48 -07:00
Tony Tung
14a8f27f55 [fastmanifest] initial checkin
Summary:
Still missing:

== Code and tests: ==
* remove path
* contains path (but this is essentially the same as get path)
* read/write from file

== Tests: ==
* checksumming directories

Test Plan: well, it kind of builds.

Reviewers: durham, simpkins, lcharignon

Reviewed By: lcharignon

Subscribers: net-systems-diffs@, mitrandir, mjpieters, akushner, rmcelroy

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

Signature: t1:3120166:1459464981:60f19dd1e36d62776a69fa88c018122a4be27d87
2016-04-01 00:46:28 -07:00
Adam Simpkins
b18929a474 [tests] ignore the .testtimes file created by run-tests.py
Summary:
Ignore the .testtimes file created by run-tests.py
This is the same ignore line used in the main hg repository's .hgignore file.

Test Plan: Ran "hg status", didn't see tests/.testtimes listed as untracked any more.

Reviewers: #sourcecontrol, rmcelroy, ttung, durham

Reviewed By: durham

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

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

Signature: t1:3014987:1457138188:066392d386341e7304b875d9e0aa3d5f4b368a6a
2016-03-04 16:39:51 -08:00
Cecile Berillon
6763341497 dbutil.py: remote database is SQL
Summary: Added all the sql commands for the MySQL remote database, and gathered all the commands in a single function

Test Plan: Created a serverrepo, two client ones, did push and pulls between them

Reviewers: #sourcecontrol, rmcelroy

Reviewed By: rmcelroy

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

Tasks: 8660367

Signature: t1:2661606:1447875185:0e9d3876b2f509028585349a9d05b447876b3da0
2015-11-20 09:38:21 -08:00
Durham Goode
df38507f4e Ignore dist/ directory 2015-11-13 10:44:11 -08:00
James Mills
c6bf360c5c Use setuptools if available.
Summary: Because working in a virtualenv w/ setuptools makes things a little easier :)

Test Plan: workon hg && python setup.py develop

Reviewers: rmcelroy, durham

Reviewed By: durham

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

Signature: t1:2570341:1445542319:0f30cb4aefb7c59753decda4535ca335a4f423cc
2015-10-22 08:02:30 -07:00
Siddharth Agarwal
70693db843 add some convenience features 2014-09-08 12:49:25 -07:00