[ 
https://issues.apache.org/jira/browse/MYNEWT-495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15961331#comment-15961331
 ] 

ASF subversion and git services commented on MYNEWT-495:
--------------------------------------------------------

Commit a895dc5cb357dc86c297919f1dc77c78423c7dea in incubator-mynewt-newt's 
branch refs/heads/master from [~ccollins476]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-newt.git;h=a895dc5 
]

Merge remote-tracking branch 'apache/develop'

* apache/develop:
  unixchild - Ensure socket gets deleted on stop.
  Add PrintStacks util function.
  unixchild - prevent half-started state
  unixchild additions
  unixchild util library
  MYNEWT-674 newt - Remove use of new io.SeekCurrent
  MYNEWT-660 newt - Quotes get stripped from syscfg
  Add env to verbose output, remove duplicated msg
  newt; go version requirement is now 1.7.
  Update release notes; date and remove comment saying that this is a beta.
  MYNEWT-655 newt - Detect newt version incompat.
  Fix to print correct pkg dependecy
  MYNEWT-655 newt - Detect proj/newt ver incompat.
  MYNEWT-655 newt - Detect repo/newt ver incompat.
  Warns on unmatched pkg.name and pkg.path
  Updates to sync/upgrade/install inner working
  Remove trailing slash using pkg commands in the shell
  MYNEWT-495: updates to sync command


> 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: Fabio Utzig
>             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.15#6346)

Reply via email to