Exemple #1
0
 def get_txn_copy_source(self):
     if not self.txn:
         return None
     root = fs.svn_fs_txn_root(self.txn, self.pool)
     chgpaths = fs.svn_fs_paths_changed(root, self.pool)
     for chgpath in chgpaths:
         (srcrev, srcpath) = fs.svn_fs_copied_from(root, chgpath, self.pool)
         #print >>sys.stderr, "chgpath: %s -> %s @ %d" % (chgpath, srcpath, srcrev)
         if srcrev > 0 and srcpath is not None:
             return (srcrev, srcpath)
     return None
Exemple #2
0
 def get_txn_copy_source(self):
     if not self.txn:
         return None
     root = fs.svn_fs_txn_root(self.txn, self.pool)
     chgpaths = fs.svn_fs_paths_changed(root, self.pool)
     for chgpath in chgpaths:
         (srcrev, srcpath) = fs.svn_fs_copied_from(root, chgpath, self.pool)
         # print >>sys.stderr, "chgpath: %s -> %s @ %d" % (chgpath, srcpath, srcrev)
         if srcrev > 0 and srcpath is not None:
             return (srcrev, srcpath)
     return None
Exemple #3
0
 def get_txn_root(self):
     if not self.txn:
         return None
     root = fs.svn_fs_txn_root(self.txn, self.pool)
     return root
Exemple #4
0
 def get_txn_root(self):
     if not self.txn:
         return None
     root = fs.svn_fs_txn_root(self.txn, self.pool)
     return root