Add code to emit branch creations to the dumpfile (but leave it turned off in pass4() because the path logic is still a little wonky):
Add code to emit branch creations to the dumpfile (but leave it turned
off in pass4() because the path logic is still a little wonky):

* tools/cvs2svn/cvs2svn.py
  (CollectData.define_tag): Add the branch point for vendor branches
    too, otherwise they won't have roots in the symbolic name tree.
  (RepositoryMirror.delete_path.is_prunable): Don't take a
    mutable_flag argument anymore, since we compensate internally for
    all special entries now, not just the mutability flag.  Also,
    write error to stderr, not stdout.
  (RepositoryMirror.probe_path, SymbolicNameTracker.probe_path): Make
    debugging output optional, so this method can be the regular
    run-time prober for both classes.
  (SymbolicNameTracker.__init__): Initialize new instance variable
    self.copyfrom_rev_key.
  (SymbolicNameTracker.score_revisions, SymbolicNameTracker.best_rev,
   SymbolicNameTracker.fill_branch): New methods.
  (Dump.probe_path): New method, wrapper for repos_mirror.probe_path.
  (Dump.copy_path): New method.
  (Dump.__init__): Initialize self.revision to 0.
  (Dump.start_revision): Increment to the new revision immediately.
  (pass4): Don't pass an initial revision when creating the dumper.
  (main): Don't set ctx.initial_revision anymore, the dumper always
    starts at revision 0 now.
  (Commit.commit): If this commit is on a branch, then create the
    branch before going any further.  Of course, none of this will
    actually happen yet, because the continue|pass switch in pass4()
    is still set to continue past branch commits.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@846410 13f79535-47bb-0310-9956-ffa450edef68

wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion