Created
September 26, 2013 07:13
-
-
Save jpluimers/6710795 to your computer and use it in GitHub Desktop.
local conversion from SVN to HG work with svn, svn, version 1.8.1 (r1503906) and Mercurial Distributed SCM (version 2.7) using SVN format 5 and SVN db format 6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\developer\Versioned>svnadmin create DSharp.svn | |
C:\Users\developer\Versioned>echo exit 0 1>DSharp.svn\hooks\pre-revprop-change.bat | |
C:\Users\developer\Versioned>svnsync init file:///C:/Users/developer/Versioned/DSharp.svn http://delphisorcery.googlecode.com/svn | |
Copied properties for revision 0. | |
C:\Users\developer\Versioned>svnsync sync file:///C:/Users/developer/Versioned/DSharp.svn http://delphisorcery.googlecode.com/svn | |
Committed revision 1. | |
Copied properties for revision 1. | |
Transmitting file data .......... | |
... | |
Committed revision 630. | |
Copied properties for revision 630. | |
C:\Users\developer\Versioned>hg clone https://bitbucket.org/jeroenp/dsharp DSharp.hg | |
no changes found | |
updating to branch default | |
0 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
C:\Users\developer\Versioned>hg convert --verbose file:///C:/Users/developer/Versioned/DSharp.svn DSharp | |
file:///C:/Users/developer/Versioned/DSharp.svn does not look like a CVS checkout | |
file:///C:/Users/developer/Versioned/DSharp.svn does not look like a Git repository | |
file:///C:/Users/developer/Versioned/DSharp.svn does not look like a Subversion repository | |
file:///C:/Users/developer/Versioned/DSharp.svn is not a local Mercurial repository | |
file:///C:/Users/developer/Versioned/DSharp.svn does not look like a darcs repository | |
file:///C:/Users/developer/Versioned/DSharp.svn does not look like a monotone repository | |
file:///C:/Users/developer/Versioned/DSharp.svn does not look like a GNU Arch repository | |
file:///C:/Users/developer/Versioned/DSharp.svn does not look like a Bazaar repository | |
file:///C:/Users/developer/Versioned/DSharp.svn does not look like a P4 repository | |
abort: file:///C:/Users/developer/Versioned/DSharp.svn: missing or unsupported repository | |
C:\Users\developer\Versioned>svn --version | |
svn, version 1.8.1 (r1503906) | |
compiled Jul 22 2013, 19:58:17 on x86-microsoft-windows | |
Copyright (C) 2013 The Apache Software Foundation. | |
This software consists of contributions made by many people; | |
see the NOTICE file for more information. | |
Subversion is open source software, see http://subversion.apache.org/ | |
The following repository access (RA) modules are available: | |
* ra_svn : Module for accessing a repository using the svn network protocol. | |
- with Cyrus SASL authentication | |
- handles 'svn' scheme | |
* ra_local : Module for accessing a repository on local disk. | |
- handles 'file' scheme | |
* ra_serf : Module for accessing a repository via WebDAV protocol using serf. | |
- handles 'http' scheme | |
- handles 'https' scheme | |
C:\Users\developer\Versioned>hg --version | |
Mercurial Distributed SCM (version 2.7) | |
(see http://mercurial.selenic.com for more information) | |
Copyright (C) 2005-2013 Matt Mackall and others | |
This is free software; see the source for copying conditions. There is NO | |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
C:\Users\developer\Versioned>type DSharp.svn\format | |
5 | |
C:\Users\developer\Versioned>type DSharp.svn\db\format | |
6 | |
layout sharded 1000 | |
C:\Users\developer\Versioned>type DSharp.svn\db\fs-type | |
fsfs | |
C:\Users\developer\Versioned>type DSharp.svn\db\min-unpacked-rev | |
0 | |
C:\Users\developer\Versioned>dir DSharp.svn DSharp.svn\db | |
Volume in drive C has no label. | |
Volume Serial Number is A855-3C2D | |
Directory of C:\Users\developer\Versioned\DSharp.svn | |
09/25/2013 09:52 PM <DIR> . | |
09/25/2013 09:52 PM <DIR> .. | |
09/25/2013 07:38 PM <DIR> conf | |
09/25/2013 07:44 PM <DIR> db | |
09/25/2013 07:38 PM 2 format | |
09/25/2013 07:38 PM <DIR> hooks | |
09/25/2013 07:38 PM <DIR> locks | |
09/25/2013 07:38 PM 251 README.txt | |
2 File(s) 253 bytes | |
Directory of C:\Users\developer\Versioned\DSharp.svn\db | |
09/25/2013 07:44 PM <DIR> . | |
09/25/2013 07:44 PM <DIR> .. | |
09/25/2013 07:44 PM 4 current | |
09/25/2013 07:38 PM 22 format | |
09/25/2013 07:38 PM 5 fs-type | |
09/25/2013 07:38 PM 6,963 fsfs.conf | |
09/25/2013 07:38 PM 2 min-unpacked-rev | |
09/25/2013 07:44 PM 232,448 rep-cache.db | |
09/25/2013 07:38 PM <DIR> revprops | |
09/25/2013 07:38 PM <DIR> revs | |
09/25/2013 07:44 PM <DIR> transactions | |
09/25/2013 07:44 PM 3 txn-current | |
09/25/2013 07:38 PM 0 txn-current-lock | |
09/25/2013 07:44 PM <DIR> txn-protorevs | |
09/25/2013 07:38 PM 37 uuid | |
09/25/2013 07:38 PM 0 write-lock | |
10 File(s) 239,484 bytes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment