1/*
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 *
6 * Copyright 1997 - July 2008 CWI, August 2008 - 2019 MonetDB B.V.
7 */
8
9#include "monetdb_config.h"
10#include "monetdb_hgversion.h"
11#include <string.h>
12#include "mutils.h"
13
14static const char revision[] =
15#ifdef MERCURIAL_ID
16 MERCURIAL_ID
17#else
18 "Unknown"
19#endif
20 ;
21
22const char *
23mercurial_revision(void)
24{
25 return revision;
26}
27