Saugat Pachhai
3741f730e0
show git-add hint on stage:add, refactor scm_context ( #5290 )
...
* Refactor scm_context, show git-add hint on stage:add
* move tests
2021-01-24 22:43:38 +02:00
Robert Lowry and Ruslan Kuprieiev
15488ebefd
scm: add config option to stage files automatically ( #4543 )
...
* scm: add "autostage" config option to stage files automatically
Fixes #4330
* Update tests/unit/scm/test_scm.py
* Update tests/unit/scm/test_scm.py
* scm_context, git: call reset_tracked_files from scm_context, remove output message
* Update dvc/repo/scm_context.py
Co-authored-by: Ruslan Kuprieiev <[email protected] >
2020-09-21 11:59:25 +03:00
Ramón Valles
ee26afe65e
git: quote filenames @ remind_to_track ( #3315 )
...
Fix #3303
2020-03-23 18:22:51 +02:00
Ruslan Kuprieiev
95fe1578bb
dvc: automatically reorder imports
2019-11-05 02:34:40 +02:00
Andrew Grigorev
7d79043bbb
dvc.scm.scm_context -> dvc.repo.scm_context.scm_context
...
The `dvc/scm/__init__.py:scm_context` works with `Repo` objects and
is used mostly in `dvc/repo/...`, so it is better to put it in
`dvc/repo/scm_context.py`.
Fix #1769
2019-03-22 19:53:41 +03:00
Andrew Grigorev
9e6c52079b
Abstract access to file objects
...
Abstract access to filesystem and its implementation to access files and
particulary Stage objects in different git branches without `git
checkout` execution.
2019-03-21 19:47:42 +03:00
Ivan Shcheklein
75421f0f21
migrate to pytest
2019-03-17 14:49:49 -07:00