Code review comment for lp:~mterry/quickly/overwrite

Revision history for this message
Tony Byrne (tony-badwolf) wrote :

A better overwrite algorithm

Use bzr to extract version 1 of project to a temp directory - this contains only files created by quickly
compare file with current version
upgrade can overwrite if no changes

If file changed by user he probably has a good reason so we need a stategy

Write a "Can't upgrade because ..." message
Offer a automatic patch submission to quickly team to look at changes

Or

bzr commit -m 'pre upgrade'
upgrade --force overwrite
bzr commit -m 'post upgrade'
bzr diff

This point is one for the quickly talk list

« Back to merge proposal