monotone

monotone Mtn Source Tree

Root/rev_output.hh

1// Copyright (C) 2010 Derek Scherger <derek@echologic.com>
2//
3// This program is made available under the GNU GPL version 2.0 or
4// greater. See the accompanying file COPYING for details.
5//
6// This program is distributed WITHOUT ANY WARRANTY; without even the
7// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8// PURPOSE.
9
10#ifndef __REV_SUMMARY_HH__
11#define __REV_SUMMARY_HH__
12
13#include "rev_types.hh"
14#include "vocab.hh"
15
16struct date_t;
17struct cert;
18
19void
20revision_header(revision_id const rid, revision_t const & rev,
21 std::string const & author, date_t const date,
22 branch_name const & branch, utf8 const & changelog,
23 std::string const & date_fmt, utf8 & header);
24
25void
26revision_header(revision_id const rid, revision_t const & rev,
27 std::vector<cert> const & certs, std::string const & date_fmt,
28 utf8 & header);
29
30void
31revision_summary(revision_t const & rev, utf8 & summary);
32
33#endif // header guard
34
35// Local Variables:
36// mode: C++
37// fill-column: 76
38// c-file-style: "gnu"
39// indent-tabs-mode: nil
40// End:
41// vim: et:sw=2:sts=2:ts=2:cino=>2s,{s,\:s,+s,t0,g0,^-2,e-2,n-2,p2s,(0,=s:

Archive Download this file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status