-1

I am writing my pre-commit hook file in python for SVN repository.

I have more than one branches.

I want to know from which branch the commit has come from, for example, trunk, or branch1.1 or etc.

Is there any way I can find from which branch the commit is coming from in pythonic way in pre-commit script?

Thanks in Advance.

Sumanth Lingappa
  • 464
  • 1
  • 6
  • 15

1 Answers1

1
  • PySVN: pysvn.Transaction.changed: "Return a dict of all changes in the transaction"
  • Call process svnlook dirs-changed <OPTIONS> from Python
Lazy Badger
  • 94,711
  • 9
  • 78
  • 110