newsNews: Synchronizing your working copy with the restore repository

Latest News
The git service has moved to the new server posted by rwp, Sun Dec 4 00:38:44 2016 - 0 replies
Savannah is migrating to updated systems. posted by rwp, Wed Nov 30 23:56:33 2016 - 0 replies
Savannah suffering networking problems posted by rwp, Fri May 13 22:58:25 2016 - 0 replies
Savannah https SSL certificates updated posted by rwp, Fri Mar 25 05:32:10 2016 - 0 replies
Savannah IPv4 address has changed posted by rwp, Sun Aug 9 20:07:57 2015 - 0 replies
[180 news in archive]

Synchronizing your working copy with the restored repository

Item posted by Sylvain Beucler <Beuc> on Fri Mar 16 00:10:28 2007.

You may be in the situation where you have changes in your CVS working copy that are not committed in the restored Savannah repository anymore. strk suggested the following procedure:

  1. Get a fresh cvs export from the repository (call it fresh-export)
  2. Turn your latest working copy into "export" form (remove everything should not be fetched by an export - see below)
  3. diff -ur fresh-export/ latest-working-copy/ > changes.diff
  4. Check the diff, if it contains more then it should, goto (2)
  5. Get a fresh cvs checkout (call it fresh-checkout)
  6. Apply the diff obtained in step (3) to fresh-checkout/ (with patch)
  7. 'cvs add' the new stuff (list the new files with "cvs -n update")
  8. Build & test patched fresh-checkout/
  9. Cross fingers
  10. Commit
  11. Checkout the whole project again, build&test

Note about step (2), or how to turn your latest working copy into "export" form:

Note: if you perform a 'cvs update' in your working copy, CVS will "go back in time" and revert to the repository version, possibly losing your uncommited changes.


nick8 (posted by nick, Fri Aug 1 23:20:34 2008)

Good web..........

<a href="">rx pharmacy</a>

$ find . -name "CVS" | xargs rm -Rf # CVS *d (posted by lira, Mon May 26 16:45:24 2008)

How do it and dear admin, save us from spam, all medication only from oficial site

Online Casino (posted by Andrey, Tue May 6 16:52:14 2008)

blogeregg (posted by NEWORLDGOLD, Wed Apr 9 23:09:53 2008)



Back to the top

Powered by Savane 3.1-cleanup