Paweł Redzyński and Ruslan Kuprieiev
349b4af3ae
install: verify no hooks colliding with dvc exist ( #2505 )
...
* install: verify no hooks colliding with dvc exist
* test: install: remove obsolete tests
* Update tests/func/test_install.py
Co-Authored-By: Ruslan Kuprieiev <[email protected] >
* test: install: import GitHookAlreadyExistsError
2019-09-19 15:40:58 +03:00
Ruslan Kuprieiev
b3e4ff7cba
test: install: don't forget to adjust hook tests
2019-09-09 05:10:30 +03:00
Gunnlaugur Thor Briem
e1dd75edcd
fix: don't dvc checkout on git file checkout
...
Closes #2400
2019-08-16 22:11:16 +00:00
RahulR19
371c57ac24
Renamed git to repo in dvc/scm/git along with changes in some tests.
2019-08-04 23:26:45 +05:30
Gunnlaugur Thor Briem
e917ce0ae8
dvc: hooks only act in branches where dvc active ( #2338 )
...
* dvc: hooks only act in branches where dvc active
In a branch where DVC hasn't been initialized (as detected by
`git ls-files .dvc` not listing any files), don't invoke dvc in the git hooks.
This avoids trouble when switching between branches with and without dvc
initialized.
Fixes #2208
* dvc: simplify hooks per PR comment
2019-07-29 16:26:49 +03:00
Ruslan Kuprieiev
918ef646dc
appveyor: test py2 and py3
...
Related to #2166
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-06-23 13:33:47 +03:00
pawel
01c2f6c174
tests: rename dvc repo fixture
2019-05-21 15:04:43 -07:00
Mr. Outis
c39c2f087a
install: append commands if hook already exists
...
Close #1964
2019-05-10 16:20:01 -07:00
Ruslan Kuprieiev and pared
ba1463384f
Update tests/func/test_install.py
...
Co-Authored-By: pared <[email protected] >
2019-05-01 11:11:29 -07:00
pared
a3857fe747
install: add pre-push hook, refactor test
2019-04-30 20:51:09 -07:00
Ruslan Kuprieiev
6f11f1f51f
test: move func tests to tests/func
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-04-16 20:19:22 +03:00