newsNews: Synchronizing your working copy with the restore repository

Latest News
Savannah IPv4 address has changed posted by rwp, Sun 09 Aug 2015 08:07:57 PM UTC - 0 replies
IPv4 address change for Savannah posted by rwp, Sat 08 Aug 2015 05:14:00 AM UTC - 0 replies
Savannah https SSL certificates updated posted by rwp, Mon 02 Mar 2015 10:15:31 PM UTC - 0 replies
Savannah VCS Storage Maintenance Completed posted by rwp, Wed 14 May 2014 10:19:51 PM UTC - 0 replies
Savannah VCS Maintenance posted by rwp, Sun 11 May 2014 08:05:38 PM UTC - 0 replies
[176 news in archive]

Synchronizing your working copy with the restored repository

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

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 01 Aug 2008 11:20:34 PM UTC)

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

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

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

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

Online Casino (posted by Andrey, Tue 06 May 2008 04:52:14 PM UTC)

blogeregg (posted by NEWORLDGOLD, Wed 09 Apr 2008 11:09:53 PM UTC)



Back to the top

Powered by Savane 3.1-cleanup