Getting a LineOfDevelopment object from branch name
Greg Ward <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi -- in HgOutputOption and related code, I occasionally need to dig up the Trunk instance used to represent CVS trunk in this conversion, or the Branch object used to represent some CVS branch. I'm handling it by keeping a dict from branch name (or "trunk") to LineOfDevelopment object, which I populate in process_initial_commit() and process_branch_commit(). This seems fine, but I was wondering if there is an easier way -- did I miss some global mapping of LineOfDevelopment objects? Thanks -- Greg ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1667&dsMessageId=2384988 To unsubscribe from this discussion, e-mail: [[email protected]].