Mercurial > hgsubversion
view tests/fixtures/emptyrepo.sh @ 1103:6e1dbf6cbc92
compathacks: new module to collect hacks to work around hg internals changing
This includes branchset(), which provides a portable way to get the
set of branches present in a repository.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Mon, 03 Feb 2014 01:55:56 -0500 |
parents | 6c9b7cf1c5aa |
children |
line wrap: on
line source
#!/bin/sh # # Generate renames.svndump # mkdir temp cd temp mkdir project-orig cd project-orig mkdir trunk mkdir branches cd .. svnadmin create testrepo svnurl=file://`pwd`/testrepo svn import project-orig $svnurl -m "init project" svn co $svnurl project cd project/trunk # Create and remove a file, hgsubversion does not like # empty repositories echo a > a svn add a svn ci -m "add a" svn rm a svn ci -m "remove a" cd ../.. svnadmin dump testrepo > ../emptyrepo.svndump