-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create -f reports collision where there is none (collides with itself) #3549
Comments
kyleam
added a commit
to kyleam/datalad
that referenced
this issue
Jul 23, 2019
If create() is called with an existing subdataset as the path, we abort saying that the subdataset is content in the parent dataset. Although this is true, let's restrict this check to non-dataset content (e.g., <existing subds>/<file>) and have the subdataset case fall through to the "is subdataset?" check. This will make it easier to make 'datalad create --force <existing subds>' ignore the "is subdataset?" check. Re: datalad#3549
kyleam
added a commit
to kyleam/datalad
that referenced
this issue
Jul 23, 2019
For top-level datasets, the --force can be used to ignore the "is empty directory?" check. Make --force also disable the "is subdataset?" check because this is consistent with the non-subdataset behavior and was the behavior before the "rev-create -> create" rewrite. Fixes datalad#3549.
kyleam
added a commit
to kyleam/datalad
that referenced
this issue
Jul 23, 2019
If create() is called with an existing subdataset as the path, we abort saying that the subdataset is content in the parent dataset. Although this is true, let's restrict this check to non-dataset content (e.g., <existing subds>/<file>) and have the subdataset case fall through to the "is subdataset?" check. This will make it easier to teach 'datalad create --force <existing subds>' to ignore the "is subdataset?" check. Re: datalad#3549
kyleam
added a commit
to kyleam/datalad
that referenced
this issue
Jul 23, 2019
For top-level datasets, --force can be used to ignore the "is empty directory?" check. Make --force also disable the "is subdataset?" check because this is consistent with the non-subdataset behavior and was the behavior before the "rev-create -> create" rewrite. Fixes datalad#3549.
kyleam
added a commit
to kyleam/datalad
that referenced
this issue
Jul 23, 2019
If create() is called with an existing subdataset as the path, we abort saying that the subdataset is content in the parent dataset. Although this is true, let's restrict this check to non-dataset content (e.g., <existing subds>/<file>) and have the subdataset case fall through to the "is subdataset?" check. This will make it easier to teach 'datalad create --force <existing subds>' to ignore the "is subdataset?" check. Re: datalad#3549
kyleam
added a commit
to kyleam/datalad
that referenced
this issue
Jul 23, 2019
For top-level datasets, --force can be used to ignore the "is empty directory?" check. Make --force also disable the "is subdataset?" check because this is consistent with the non-subdataset behavior and was the behavior before the "rev-create -> create" rewrite. Fixes datalad#3549.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
subds
is the subdataset we are trying to force create here, so there is no collision.I thought that may be it is due to
subds/
being only staged, but even if I commit, situation is the same:The text was updated successfully, but these errors were encountered: