mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-07-13 20:22:16 +02:00
added last commit message to repositorybrowser
This commit is contained in:
@@ -71,13 +71,15 @@ for dir in directories:
|
||||
print ' </file>'
|
||||
|
||||
for file in files:
|
||||
time = file.date()[0]
|
||||
desc = repo[file.linkrev()].description()
|
||||
print ' <file>'
|
||||
print ' <name>' + getName(file.path()) + '</name>'
|
||||
print ' <path>' + file.path() + '</path>'
|
||||
print ' <directory>false</directory>'
|
||||
print ' <length>' + str(file.size()) + '</length>'
|
||||
time = file.date()[0]
|
||||
print ' <lastModified>' + str(time).split('.')[0] + '</lastModified>'
|
||||
print ' <description>' + desc + '</description>'
|
||||
print ' </file>'
|
||||
print ' </children>'
|
||||
print ' </file>'
|
||||
|
||||
Reference in New Issue
Block a user