hgext/convert/subversion.py
branchstable
changeset 20057 d54467c1a198
parent 19787 87f07f70f227
child 20373 e8203629371b
equal deleted inserted replaced
20056:cbcd85fa75c0 20057:d54467c1a198
    89 
    89 
    90 def get_log_child(fp, url, paths, start, end, limit=0,
    90 def get_log_child(fp, url, paths, start, end, limit=0,
    91                   discover_changed_paths=True, strict_node_history=False):
    91                   discover_changed_paths=True, strict_node_history=False):
    92     protocol = -1
    92     protocol = -1
    93     def receiver(orig_paths, revnum, author, date, message, pool):
    93     def receiver(orig_paths, revnum, author, date, message, pool):
       
    94         paths = {}
    94         if orig_paths is not None:
    95         if orig_paths is not None:
    95             for k, v in orig_paths.iteritems():
    96             for k, v in orig_paths.iteritems():
    96                 orig_paths[k] = changedpath(v)
    97                 paths[k] = changedpath(v)
    97         pickle.dump((orig_paths, revnum, author, date, message),
    98         pickle.dump((paths, revnum, author, date, message),
    98                     fp, protocol)
    99                     fp, protocol)
    99 
   100 
   100     try:
   101     try:
   101         # Use an ra of our own so that our parent can consume
   102         # Use an ra of our own so that our parent can consume
   102         # our results without confusing the server.
   103         # our results without confusing the server.