comparison fetch_command.py @ 218:a360ddc97719

branches: change handling again, but this time a little less magic. This change means that files located in the actual branches directory will now be wholly ignored. If we want to handle those correctly, it will take a reasonably large amount of work and probably a configuration flag. Also, any non-related paths outside of branches/trunk will be explicitly ignored, which is similar to the somewhat accidental pre-branch-refactor behavior. Finally, any unrelated files located as children of branches will cause the directory in branches to be used as the branch - not, as recently was the case, the directory immediately containing that file.
author Augie Fackler <durin42@gmail.com>
date Sat, 28 Mar 2009 16:38:57 -0500
parents 907c160c6289
children 330f0b15d417
comparison
equal deleted inserted replaced
217:6eb691a163cd 218:a360ddc97719
112 112
113 113
114 def cleanup_file_handles(svn, count): 114 def cleanup_file_handles(svn, count):
115 if count % 50 == 0: 115 if count % 50 == 0:
116 svn.init_ra_and_client() 116 svn.init_ra_and_client()
117
117 118
118 def replay_convert_rev(hg_editor, svn, r): 119 def replay_convert_rev(hg_editor, svn, r):
119 hg_editor.set_current_rev(r) 120 hg_editor.set_current_rev(r)
120 svn.get_replay(r.revnum, hg_editor) 121 svn.get_replay(r.revnum, hg_editor)
121 i = 1 122 i = 1