/[adm]/puppet/deployment/mgagit/templates/git-post-receive-hook
ViewVC logotype

Diff of /puppet/deployment/mgagit/templates/git-post-receive-hook

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3388 by colin, Sat Jan 4 14:50:36 2014 UTC revision 3389 by colin, Sat Jan 4 14:54:24 2014 UTC
# Line 177  if __name__ == '__main__': Line 177  if __name__ == '__main__':
177              ['for-each-ref', '--sort=-committerdate', "--format='%(committerdate:iso8601)'", '--count=1', 'refs/heads'],              ['for-each-ref', '--sort=-committerdate', "--format='%(committerdate:iso8601)'", '--count=1', 'refs/heads'],
178          )          )
179          modfile = open(os.path.join(infowebdir, 'last-modified'), 'w')          modfile = open(os.path.join(infowebdir, 'last-modified'), 'w')
180          modfile.write(lastupdated)          modfile.write(lastupdated.strip("'"))
181          modfile.close()          modfile.close()
182      except Exception:      except Exception:
183          pass          pass

Legend:
Removed from v.3388  
changed lines
  Added in v.3389

  ViewVC Help
Powered by ViewVC 1.1.30