Skip to content
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

pull --depth x --id xxxxxxxxxxxxxxx pull all files every time #462

Closed
csaleman opened this issue Nov 6, 2015 · 4 comments
Closed

pull --depth x --id xxxxxxxxxxxxxxx pull all files every time #462

csaleman opened this issue Nov 6, 2015 · 4 comments
Labels
Milestone

Comments

@csaleman
Copy link

csaleman commented Nov 6, 2015

Hi,

Using drive version 0.3.2 on windows.

I have a huge set of documents and I'm trying to pull only files directly inside B and C using the following command.

drive pull --depth 2 --id 0B8XXXXXXXXXXXXXXXX

The first pull download all the files as expected but subsequent pull downloads all the files inside B and C instead of only changes.

drive pull --id 0B8XXXXXXXXXXXXXXXX

works as expected and return Everything is up-to-date,

  • A/
    • B/
    • C/
      • C1
      • C2

Thank you !!

@odeke-em
Copy link
Owner

odeke-em commented Nov 6, 2015

Hello again @csaleman,
Thank you for the detailed report, you captured a good edge case and I am able to reproduce it.
PR will come later today.

@odeke-em
Copy link
Owner

odeke-em commented Nov 6, 2015

Hello again @csaleman,
I've addressed this issue with PR #465. Please get the latest from master and thank you for catching this!

@csaleman
Copy link
Author

csaleman commented Nov 9, 2015

Emmanuel. thank you for taking care of this bug.

I tested it today and seems like --depth now returns .

Both --depth 0 and --depth 1 return the same results which i find odd.

@odeke-em
Copy link
Owner

Thanks for reporting this, 0 on a specified file is the file itself but on a dir shouldn't move it. If this persists and is reproducible, please open a new issue. Closing this in lieu of a new release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants