[coreboot] svn: switching subversion from LinuxBIOS to coreboot

Robinson Tryon bishop.robinson at gmail.com
Thu Jan 17 04:43:10 CET 2008


On Jan 16, 2008 8:24 PM, Carl-Daniel Hailfinger
<c-d.hailfinger.devel.2006 at gmx.net> wrote:
> !!!! WARNING WARNING WARNING WARNING !!!!
> If you think you see anything that looks like an error message, STOP
> IMMEDIATELY.
> ...
> Write to the list with any questions before your tree is beyond recovery.
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Here's a quick and easy way to back up your working copy (assuming it
has uncommitted changes in it).

Because Subversion stores all of its version-control bits in the .svn
subdirectories of a checkout, it's really easy to back up your working
copy before trying any commands with which you are not familiar.

For example:

qubit at uglyduckling:~/src$ ls
coreboot-v3  superiotool
qubit at uglyduckling:~/src$ cp -r coreboot-v3/ coreboot-v3-BACKUP
qubit at uglyduckling:~/src$ ls
coreboot-v3  coreboot-v3-BACKUP  superiotool

(... Now that you have a backup, do all of your hairy work on the
coreboot-v3/ directory ...)

If you have SVN problems and want to start over, just restore from the backup:

qubit at uglyduckling:~/src$ rm -rf coreboot-v3
qubit at uglyduckling:~/src$ cp -r coreboot-v3-BACKUP/ coreboot-v3
qubit at uglyduckling:~/src$ ls
coreboot-v3  coreboot-v3-BACKUP  superiotool

I just did a fresh checkout of the coreboot-v3 tree and it looks like
it's only 11 MB, so unless you have a lot of uncommitted source files,
it should be relatively fast and simple to backup your working copy
whenever you need to.


--R




More information about the coreboot mailing list