dvc: move config/cache/state/target to .dvc

This is a more natural way to store dvc-related files and dirs
and follows git-logic much better.

Fixes #200

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2017-09-16 16:48:46 +03:00
parent 9593de0667
commit 68186b08fc
11 changed files with 95 additions and 116 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ class CmdConfig(CmdBase):
@property
def _config_path(self):
return os.path.join(self.git.git_dir, Config.CONFIG)
return os.path.join(self.git.git_dir, Config.CONFIG_DIR, Config.CONFIG)
def _get_key(self, d, name, add=False):
for k in d.keys():