Sterling Hughes created MYNEWT-495: -------------------------------------- Summary: newt sync needs a refactor Key: MYNEWT-495 URL: https://issues.apache.org/jira/browse/MYNEWT-495 Project: Mynewt Issue Type: Improvement Affects Versions: v1_0_0_beta1 Reporter: Sterling Hughes Assignee: Christopher Collins Fix For: v1_0_0_rel
newt sync currently deletes and resynchronizes the repository. It's behaviour needs a review, minimally I think it should: - go to the repositories its synching - detect whether or not there are any local changes - if so, goto #a - if not, git pull the latest changes #a - check if -f (force) flag is present, if not, abort and print error message - if -f is present, then it should stash the changes and save a diff, and then pull the latest from the remote repo (and print notice messages.) -- This message was sent by Atlassian JIRA (v6.3.4#6332)