Mercurial > hgsubversion
comparison rebuildmeta.py @ 185:57355b0e7bd1
Creating patch for documention messages.
| author | Dan Villiom Podlaski Christiansen <danchr@cs.au.dk> |
|---|---|
| date | Sat, 17 Jan 2009 15:30:37 -0600 |
| parents | e37f9d3fd5e7 |
| children | 77812f98e250 |
comparison
equal
deleted
inserted
replaced
| 184:d3ea6c98a086 | 185:57355b0e7bd1 |
|---|---|
| 5 | 5 |
| 6 import svnwrap | 6 import svnwrap |
| 7 import util | 7 import util |
| 8 | 8 |
| 9 def rebuildmeta(ui, repo, hg_repo_path, args, **opts): | 9 def rebuildmeta(ui, repo, hg_repo_path, args, **opts): |
| 10 """Rebuild hgsubversion metadata using values stored in revisions. | 10 """rebuild hgsubversion metadata using values stored in revisions |
| 11 """ | 11 """ |
| 12 assert len(args) == 1, 'You must pass the svn URI used to create this repo.' | 12 assert len(args) == 1, 'You must pass the svn URI used to create this repo.' |
| 13 uuid = None | 13 uuid = None |
| 14 svn = svnwrap.SubversionRepo(url=args[0]) | 14 svn = svnwrap.SubversionRepo(url=args[0]) |
| 15 subdir = svn.subdir | 15 subdir = svn.subdir |
