Mercurial > hgsubversion
comparison rebuildmeta.py @ 228:f71af18c4379
Merge with crew.
| author | Augie Fackler <durin42@gmail.com> |
|---|---|
| date | Tue, 07 Apr 2009 13:48:58 -0500 |
| parents | a360ddc97719 2117cb0118fe |
| children | 33e885f5f86a |
comparison
equal
deleted
inserted
replaced
| 223:330f0b15d417 | 228:f71af18c4379 |
|---|---|
| 77 revision) | 77 revision) |
| 78 for c in ctx.children(): | 78 for c in ctx.children(): |
| 79 if c.branch() == 'closed-branches': | 79 if c.branch() == 'closed-branches': |
| 80 if branch in branchinfo: | 80 if branch in branchinfo: |
| 81 del branchinfo[branch] | 81 del branchinfo[branch] |
| 82 lastrevfile = open(os.path.join(svnmetadir, 'last_rev'), 'w') | |
| 83 lastrevfile.write(str(last_rev)) | |
| 84 lastrevfile.close() | |
| 85 branchinfofile = open(os.path.join(svnmetadir, 'branch_info'), 'w') | 82 branchinfofile = open(os.path.join(svnmetadir, 'branch_info'), 'w') |
| 86 pickle.dump(branchinfo, branchinfofile) | 83 pickle.dump(branchinfo, branchinfofile) |
| 87 branchinfofile.close() | 84 branchinfofile.close() |
| 88 | 85 |
| 89 # now handle tags | 86 # now handle tags |
