Alexander Schepanovski
5e92a079b8
dvc: autowrap repo tree into CleanTree
2020-01-03 21:46:05 +07:00
Ruslan Kuprieiev
45933113df
Merge pull request #3043 from Suor/chdir
...
test: add @TmpDir.chdir()
2020-01-03 16:06:52 +02:00
Ruslan Kuprieiev
11a627d336
Merge pull request #3046 from Suor/clean-brancher
...
dvc: clean brancher
2020-01-03 14:42:51 +02:00
Alexander Schepanovski
ecd511fc69
dvc: safely return to saved tree in brancher
2020-01-03 19:09:34 +07:00
Alexander Schepanovski
77b937b001
dvc: drop unused params in Repo.brancher()
2020-01-03 19:05:54 +07:00
Alexander Schepanovski
1e5fb102a2
test: add @TmpDir.chdir()
2020-01-03 16:58:32 +07:00
pawel
36427387c0
get_mtime_and_size: move working tree assertion after veryfing dir
2020-01-03 10:32:32 +01:00
pawel
1e1a9cf774
tree: introduce is_working_tree
2020-01-03 10:03:47 +01:00
pawel
eb53c030c6
local-related methods should verify that WorkingTree is in use
2020-01-03 09:46:04 +01:00
Ruslan Kuprieiev
705fbd24c4
Merge pull request #3042 from mroutis/refactor-exceptions
...
py3: refactor exceptions
2020-01-03 05:44:52 +02:00
Mr. Outis
5611ccb43a
exceptions: remove cause
2020-01-02 20:43:24 -06:00
Mr. Outis
aed04e7cc9
exceptions: remove noop code
2020-01-02 16:59:56 -06:00
Ruslan Kuprieiev
0a2e699115
Merge pull request #3039 from mroutis/refactor-super
...
py3: use new magic from PEP 3135
2020-01-03 00:53:09 +02:00
Ruslan Kuprieiev
ca06698dc2
Merge pull request #3041 from iterative/pull-3040-restyled
...
Restyle fix for base None value
2020-01-03 00:46:54 +02:00
Restyled.io
bb54232921
Restyled by black
2020-01-02 22:43:26 +00:00
msatlihan
70146efc7c
fix for None value
2020-01-03 01:39:24 +03:00
Mr. Outis
fd82402d34
py3: use new magic from PEP 3135
2020-01-02 16:24:31 -06:00
Ruslan Kuprieiev
a377f9e08f
Merge pull request #3037 from iterative/test-relpath
...
Ensure `relpath` accepts str and Path-like objects
2020-01-02 16:46:06 +02:00
Ruslan Kuprieiev
8a2e375d6b
Merge pull request #3025 from Suor/dirty-metrics
...
metrics: don't show working tree if it is clean
2020-01-02 02:14:20 +02:00
Aman Sharma
f08c90fc6e
Ensure relpath accepts str and Path-like objects
2020-01-02 02:17:02 +05:30
Ruslan Kuprieiev
f6162fee47
Merge pull request #3026 from Suor/relink-autocompl
...
ui: add checkout --relink to autocomplete scripts
2020-01-01 17:34:46 +02:00
Ruslan Kuprieiev
a5ba9707a9
Merge pull request #3032 from mroutis/migrate-utils-compat
...
py3: migrate utils/compat.py to compat.py
2020-01-01 17:09:32 +02:00
Ruslan Kuprieiev
cba4c017a7
Merge pull request #3031 from mroutis/remove-imports
...
py3: remove imports from utils.compat
2020-01-01 17:08:46 +02:00
Ruslan Kuprieiev
fd319ab8a9
Merge pull request #3030 from mroutis/remove-utils-compat
...
py3: remove csv_reader and makedirs from utils/compat.py
2020-01-01 17:06:33 +02:00
Ruslan Kuprieiev
a507a19a34
Merge pull request #3029 from mroutis/compat-casts
...
py3: remove methods for casting bytes in python 2
2020-01-01 17:04:25 +02:00
Mr. Outis
55e90b7bdf
py3: ignore_file_not_found -> contextlib.suppress
2019-12-31 23:42:40 -06:00
Mr. Outis
086acf6404
py3: dvc/utils/compat.py -> dvc/compat.py
2019-12-31 23:42:07 -06:00
Mr. Outis
27f581cf4e
py3: remove imports from utils.compat
2019-12-31 23:16:11 -06:00
Mr. Outis
9c42809587
py3: _makedirs -> os.makedirs
2019-12-31 22:19:07 -06:00
Mr. Outis
999130b029
py3: remove compat csv_reader
2019-12-31 22:17:02 -06:00
Mr. Outis
1ef466b849
py3: remove convert_to_unicode noop
2019-12-31 22:14:54 -06:00
Alexander Schepanovski
b8cb6d72a9
metrics: don't show working tree if it is clean
2020-01-01 10:59:13 +07:00
Mr. Outis
b844aea42c
py3: remove cast_bytes method
2019-12-31 20:14:25 -06:00
Mr. Outis
326ba21ed0
py3: remove unneeded string casts
2019-12-31 19:43:15 -06:00
Ruslan Kuprieiev
35f4ee8a53
dvc: bump to 0.80.0
0.80.0
2020-01-01 03:24:03 +02:00
Chris Kerr
3ceb1db5a8
import: Allow importing from non-DVC git repos
...
Fixes #2977
Refactor `_copy_if_git_file` to use `cached_clone` directly, so
that copying still works even if the source repo does not have a
'.dvc' subdirectory.
2019-12-31 13:19:33 +00:00
Chris Kerr
fb300e1f9f
Refactor cached_clone function out of _external_repo
...
Since this function does not create a `Repo` class, it can be called
on a git repo with no '.dvc' directory
2019-12-31 13:13:29 +00:00
Chris Kerr
c393e8dcbe
import: Test for #2977 : Handle non-DVC Git repositories
2019-12-31 13:11:28 +00:00
Ruslan Kuprieiev
cbc7e21593
utils: don't import colorama again
2019-12-31 13:06:36 +02:00
Ruslan Kuprieiev
32ee19778f
Merge pull request #3024 from mroutis/unicode-str
...
py3: remove string compat related code
2019-12-31 13:05:57 +02:00
Alexander Schepanovski
bd0b28d7c2
ui: add checkout --relink to autocomplete scripts
2019-12-31 14:04:51 +07:00
Mr. Outis
6d36b85736
py3: remove string compat related code
2019-12-30 23:49:19 -06:00
Ruslan Kuprieiev
dd5e0589db
Merge pull request #3021 from mroutis/remove-utils-compat
...
py3: get rid of is_py checks
2019-12-31 04:11:00 +02:00
Ruslan Kuprieiev
381b279e53
Merge pull request #3022 from mroutis/remove-future-imports
...
py3: remove future imports
2019-12-31 04:08:22 +02:00
Mr. Outis
2827146e55
py3: adapt TEXT_CHARS on istextfile.py
2019-12-30 19:45:51 -06:00
Ruslan Kuprieiev
e599a3ad57
Merge pull request #3019 from mroutis/deprecating-27
...
py3: deprecate 2.7
2019-12-31 03:36:39 +02:00
Mr. Outis
94a0914bba
py3: get rid of future imports
2019-12-30 19:35:48 -06:00
Mr. Outis
c61254dc75
py3: get rid of py2 on CI scripts
2019-12-30 19:16:10 -06:00
Mr. Outis
886afdb203
py3: get rid of is_py checks
2019-12-30 18:53:36 -06:00
Mr. Outis
d3d6f679be
py3: modify python_requires to support 3.5 onwards
2019-12-30 13:10:28 -06:00