Hello,

I'm using subversion and python-subversion on a debian squeeze system.
The package version is 1.6.12dfsg-4.

I'm trying to modify the behavior of the changed command of the
svnlook.py file provided by python-subversion.

I'm want to show that a directory was copied by adding a "+" to the
output - the way genuine svnlook command do.

I've modified the add_directory method of the ChangedEditor as follow:

  def add_directory(self, path, parent_baton,
                    copyfrom_path, copyfrom_revision, dir_pool):

    print('A %s %s/' % ("+" if copyfrom_path else " ", path))
    return [ 0, path ]

but the copyfrom_path always equals to None.

Is there a way to have this parameter set?

Thanks,

Marc Schlinger.


This message has been scanned for viruses by BlackSpider MailControl. - 
www.blackspider.com

Reply via email to