Comments (1)
Hi,
Yeah, this is one of these cases where it is hard to define correct behavior. In this case also it's hard to say who "is right", A or B. For safety it would be better to keep updated file because it may include new important content. Unfortunately rsync doesn't keep any log with deletion/update times so it can't tell if the file that was deleted on A (and thus removed from "master" store) should be restored from A's copy. Adding workaround for this case would require a lot of code (and almost implementing light scm) and I'm not planning to do this. If you feel it's crucial you can fork and try implementing such an improvement. If it appears to be light solution than I will happily merge it.
from bitpocket.
Related Issues (20)
- Editing .bitpocket/exclude results in unexpeced deletions & data loss HOT 4
- Mountain Lion issues HOT 17
- can rsync daemon be used?
- is bitpocket still maintained ? HOT 5
- Script fails on ubuntu sh HOT 5
- export LC_ALL=C makes script not work properly with international characters HOT 4
- soft links lost on sync
- slave's symlinks deleted on sync HOT 4
- not working if shell is not bash
- server/master data not backed up before deletion HOT 2
- Space in remote path not handled HOT 5
- OSX compatibility issues - El Capitan HOT 4
- New maintainer(s) needed
- Syntax error on old master directory HOT 2
- bitsync fail on backup HOT 5
- Folder synced as empty and cannot find info in the git backups HOT 2
- Interest in fixing shellcheck warnings? HOT 1
- How does bitpocket distinguish between delete/create? HOT 1
- Two different configs? HOT 1
- Syncing local directories with spaces in their names HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitpocket.