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

anomalous sync of moved folder #59

Closed
tmmsartor opened this issue Jun 11, 2012 · 3 comments
Closed

anomalous sync of moved folder #59

tmmsartor opened this issue Jun 11, 2012 · 3 comments

Comments

@tmmsartor
Copy link

i notice this anomalous behevior of grive

i create a folder with a file inside
:/gdrive$mkdir newfolder1
:
/gdrive$touch newfolder1/newdocument1

i run grive
:~/gdrive$grive
Reading local directories
Synchronizing folders
Reading remote server file list
Synchronizing files
sync "./newfolder1" doesn't exist in server, uploading
sync "./newfolder1/newdocument1" doesn't exist in server, uploading

i move the folder into another directory in my grive root folder
:~/gdrive$mv newfolder1 myfiles/

:/gdrive$grive
Reading local directories
Synchronizing folders
Reading remote server file list
file "./newfolder1/newdocument1" parent deleted recursively in local (local_deleted)
file "./newfolder1/newdocument1" parent deleted recursively in local (local_deleted)
Synchronizing files
sync "./myfiles/newfolder1" doesn't exist in server, uploading
sync "./myfiles/newfolder1/newdocument1" deleted in remote. deleting local
sync "./newfolder1" deleted in local. deleting remote
:
/gdrive$

the file inside the moved folder results deleted both local and remote.

@Vascom
Copy link

Vascom commented Jun 13, 2012

I can confirm this issue. It is serious bug!

nestal added a commit that referenced this issue Jun 13, 2012
@nestal
Copy link
Member

nestal commented Jun 13, 2012

Can you please re-test to see if it is fixed?

@tmmsartor
Copy link
Author

it is fixed, thanks!

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

No branches or pull requests

3 participants