comparison rhodecode/lib/vcs/backends/base.py @ 3004:3bfd5852c218 beta

implements #649 added two seperate method for author and commiter to VCS changeset class - switch author for git backed to be the real author not commiter
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 14 Nov 2012 21:44:47 +0100
parents 32471bd1f4ee
children 8182ebed2922
comparison
equal deleted inserted replaced
3003:adf8ee7b8f2a 3004:3bfd5852c218
428 """ 428 """
429 Returns integer identifying this changeset. 429 Returns integer identifying this changeset.
430 430
431 """ 431 """
432 raise NotImplementedError 432 raise NotImplementedError
433
434 @LazyProperty
435 def commiter(self):
436 """
437 Returns Commiter for given commit
438 """
439
440 raise NotImplementedError
441
442 @LazyProperty
443 def commiter_name(self):
444 """
445 Returns Author name for given commit
446 """
447
448 return author_name(self.commiter)
449
450 @LazyProperty
451 def commiter_email(self):
452 """
453 Returns Author email address for given commit
454 """
455
456 return author_email(self.commiter)
433 457
434 @LazyProperty 458 @LazyProperty
435 def author(self): 459 def author(self):
436 """ 460 """
437 Returns Author for given commit 461 Returns Author for given commit