Tagged: svn

adding all untracked files with subversion


references

?

$ svn status | grep '?' | sed 's/^.* /svn add /' | bash
Advertisements

svn repository migration


Smells Like Teen Spirit

Dump.

old@old:~$ \
> svnadmin dump --incremental --quiet {path/to/old/repository} > \
> {path/to/old/dump/file}

Copy.

old@old:~$ \
> scp {path/to/old/dump/file} new@new:{path/to/new/dump/file}

Load.

new@new:~$ \
> svnadmin load --quiet {path/to/new/repository} < \
> {path/to/new/dump/file}

With or Without You

Dump and Copy.

old@old:~$ \
> svnadmin dump --incremental --quiet {path/to/old/repository} | \
> ssh new@new "cat > {path/to/new/dump/file}"

Load.

new@new:~$ \
> svnadmin load --quiet {path/to/new/repository} < \
> {path/to/new/dump/file}