monotone

monotone Mtn Source Tree

Root/restrictions.hh

1#ifndef __RESTRICTIONS_HH__
2#define __RESTRICTIONS_HH__
3
4// copyright (C) 2005 derek scherger <derek@echologic.com>
5// all rights reserved.
6// licensed to the public under the terms of the GNU GPL (>= 2)
7// see the file COPYING for details
8
9#include "app_state.hh"
10#include "change_set.hh"
11#include "vocab.hh"
12
13void extract_rearranged_paths(change_set::path_rearrangement
14 const & rearrangement, path_set & paths);
15
16void add_intermediate_paths(path_set & paths);
17
18void restrict_path_rearrangement(change_set::path_rearrangement const & work,
19 change_set::path_rearrangement & included,
20 change_set::path_rearrangement & excluded,
21 app_state & app);
22
23void calculate_restricted_rearrangement(app_state & app,
24 std::vector<utf8> const & args,
25 manifest_id & old_manifest_id,
26 revision_id & old_revision_id,
27 manifest_map & m_old,
28 path_set & old_paths,
29 path_set & new_paths,
30 change_set::path_rearrangement & included,
31 change_set::path_rearrangement & excluded);
32
33void calculate_restricted_revision(app_state & app,
34 std::vector<utf8> const & args,
35 revision_set & rev,
36 manifest_map & m_old,
37 manifest_map & m_new,
38 change_set::path_rearrangement & excluded);
39
40void calculate_restricted_revision(app_state & app,
41 std::vector<utf8> const & args,
42 revision_set & rev,
43 manifest_map & m_old,
44 manifest_map & m_new);
45
46void calculate_unrestricted_revision(app_state & app,
47 revision_set & rev,
48 manifest_map & m_old,
49 manifest_map & m_new);
50
51void calculate_restricted_change_set(app_state & app,
52 std::vector<utf8> const & args,
53 change_set const & cs,
54 change_set & included,
55 change_set & excluded);
56
57#endif // header guard

Archive Download this file

Branches

Tags

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