Browse Source

upgrading package: monotone 0.37 -> 0.38

master
parent
commit
85a90293fd
  1. 35
      monotone/monotone.patch
  2. 166
      monotone/monotone.patch.rse
  3. 6
      monotone/monotone.spec

35
monotone/monotone.patch

@ -1,35 +0,0 @@
Index: configure
--- configure.orig 2007-10-26 00:41:00 +0200
+++ configure 2007-10-26 11:18:21 +0200
@@ -12100,7 +12100,7 @@
# automatically.
PCRE_LIBS="`pcre-config --libs | \
sed -e 's:-L */usr/lib/*::' -e 's:-R */usr/lib/*::' \
- -e 's:-L */lib/*:: -e 's:-R */lib/*::'`"
+ -e 's:-L */lib/*::' -e 's:-R */lib/*::'`"
found_libpcre=yes
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
Index: pcrewrap.cc
--- pcrewrap.cc.orig 2007-10-26 00:40:22 +0200
+++ pcrewrap.cc 2007-10-26 15:19:23 +0200
@@ -15,7 +15,6 @@
// This dirty trick is necessary to prevent the 'pcre' typedef defined by
// pcre.h from colliding with namespace pcre.
#define pcre pcre_t
-#include "pcre_config.h"
#include "pcre.h"
#undef pcre
Index: std_hooks.lua
--- std_hooks.lua f6f5c8d503faca26fdc2e06a1a9285f8d4b3700f
+++ std_hooks.lua 149fd794ce4f182372cde6b3f12c8877256a58b3
@@ -765,7 +765,7 @@ function get_preferred_merge3_command (t
-- If there wasn't any user-given merger, take the first that's available
-- and wanted.
for _,mkey in ipairs(default_order) do
- c = trymerger(mkey) ; if c then return c,nil end
+ c = trymerger(mkey) ; if c then return c,mkey end
end
end

166
monotone/monotone.patch.rse

@ -62,11 +62,10 @@
rse@engelschall.com rse@engelschall.com
www.engelschall.com www.engelschall.com
===================================================================
Index: app_state.cc Index: app_state.cc
--- app_state.cc 6be9949e433ff6166fd030b34d8eb2d3e18c10b6 --- app_state.cc.orig 2007-12-12 20:45:21 +0100
+++ app_state.cc ce1cdaffff8c14261ab0a22a16571a0737532bbb +++ app_state.cc 2007-12-13 08:59:14 +0100
@@ -138,13 +138,24 @@ app_state::create_workspace(system_path @@ -138,13 +138,24 @@
go_to_workspace(new_dir); go_to_workspace(new_dir);
mark_std_paths_used(); mark_std_paths_used();
@ -91,11 +90,10 @@ Index: app_state.cc
mkdir_p(bookkeeping_root); mkdir_p(bookkeeping_root);
make_branch_sticky(); make_branch_sticky();
===================================================================
Index: cmd_diff_log.cc Index: cmd_diff_log.cc
--- cmd_diff_log.cc bd55c33e185979f03a6e5fe2d32188fac1dc0676 --- cmd_diff_log.cc.orig 2007-12-12 20:45:27 +0100
+++ cmd_diff_log.cc 86f22362b1640761711b1ca75a1a63f19a5b1a1c +++ cmd_diff_log.cc 2007-12-13 08:59:14 +0100
@@ -96,6 +96,27 @@ print_indented_set(ostream & os, @@ -96,6 +96,27 @@
set<file_path> const & s, set<file_path> const & s,
size_t max_cols) size_t max_cols)
{ {
@ -123,7 +121,7 @@ Index: cmd_diff_log.cc
size_t cols = 8; size_t cols = 8;
os << " "; os << " ";
for (set<file_path>::const_iterator i = s.begin(); for (set<file_path>::const_iterator i = s.begin();
@@ -111,6 +132,7 @@ print_indented_set(ostream & os, @@ -113,6 +134,7 @@
cols += str.size() + 1; cols += str.size() + 1;
} }
os << '\n'; os << '\n';
@ -131,7 +129,7 @@ Index: cmd_diff_log.cc
} }
void void
@@ -129,7 +151,11 @@ changes_summary::print(ostream & os, siz @@ -131,7 +153,11 @@
for (map<file_path, file_path>::const_iterator for (map<file_path, file_path>::const_iterator
i = cs.nodes_renamed.begin(); i = cs.nodes_renamed.begin();
i != cs.nodes_renamed.end(); i++) i != cs.nodes_renamed.end(); i++)
@ -143,7 +141,7 @@ Index: cmd_diff_log.cc
<< " to " << i->second << '\n'; << " to " << i->second << '\n';
} }
@@ -230,8 +256,13 @@ dump_diffs(cset const & cs, @@ -232,8 +258,13 @@
set<file_path> const & paths, set<file_path> const & paths,
bool limit_paths = false) bool limit_paths = false)
{ {
@ -157,7 +155,7 @@ Index: cmd_diff_log.cc
for (map<file_path, file_id>::const_iterator for (map<file_path, file_id>::const_iterator
i = cs.files_added.begin(); i = cs.files_added.begin();
@@ -240,6 +271,9 @@ dump_diffs(cset const & cs, @@ -242,6 +273,9 @@
if (limit_paths && paths.find(i->first) == paths.end()) if (limit_paths && paths.find(i->first) == paths.end())
continue; continue;
@ -167,7 +165,7 @@ Index: cmd_diff_log.cc
output << patch_sep << '\n'; output << patch_sep << '\n';
data unpacked; data unpacked;
vector<string> lines; vector<string> lines;
@@ -286,6 +320,9 @@ dump_diffs(cset const & cs, @@ -288,6 +322,9 @@
file_data f_old; file_data f_old;
data data_old, data_new; data data_old, data_new;
@ -177,7 +175,7 @@ Index: cmd_diff_log.cc
output << patch_sep << '\n'; output << patch_sep << '\n';
app.db.get_file_version(delta_entry_src(i), f_old); app.db.get_file_version(delta_entry_src(i), f_old);
@@ -499,6 +536,9 @@ CMD(diff, "diff", "", CMD_REF(informativ @@ -503,6 +540,9 @@
data summary; data summary;
write_cset(included, summary); write_cset(included, summary);
@ -187,7 +185,7 @@ Index: cmd_diff_log.cc
vector<string> lines; vector<string> lines;
split_into_lines(summary(), lines); split_into_lines(summary(), lines);
cout << "#\n"; cout << "#\n";
@@ -514,6 +554,9 @@ CMD(diff, "diff", "", CMD_REF(informativ @@ -518,6 +558,9 @@
cout << "# " << _("no changes") << '\n'; cout << "# " << _("no changes") << '\n';
} }
cout << "#\n"; cout << "#\n";
@ -197,7 +195,7 @@ Index: cmd_diff_log.cc
if (app.opts.diff_format == external_diff) if (app.opts.diff_format == external_diff)
{ {
@@ -877,7 +920,11 @@ CMD(log, "log", "", CMD_REF(informative) @@ -881,7 +924,11 @@
else else
{ {
out << string(65, '-') << '\n'; out << string(65, '-') << '\n';
@ -209,7 +207,7 @@ Index: cmd_diff_log.cc
changes_summary csum; changes_summary csum;
@@ -892,12 +939,21 @@ CMD(log, "log", "", CMD_REF(informative) @@ -896,12 +943,21 @@
for (set<revision_id>::const_iterator anc = ancestors.begin(); for (set<revision_id>::const_iterator anc = ancestors.begin();
anc != ancestors.end(); ++anc) anc != ancestors.end(); ++anc)
@ -231,7 +229,7 @@ Index: cmd_diff_log.cc
if (!app.opts.no_files && !csum.cs.empty()) if (!app.opts.no_files && !csum.cs.empty())
{ {
@@ -907,7 +963,11 @@ CMD(log, "log", "", CMD_REF(informative) @@ -911,7 +967,11 @@
} }
log_certs(out, app, rid, changelog_name, "ChangeLog: ", true); log_certs(out, app, rid, changelog_name, "ChangeLog: ", true);
@ -243,11 +241,10 @@ Index: cmd_diff_log.cc
} }
if (app.opts.diffs) if (app.opts.diffs)
===================================================================
Index: cmd_netsync.cc Index: cmd_netsync.cc
--- cmd_netsync.cc 5f1360b0446a86c6e9fc646141a54e6e5a20dbe8 --- cmd_netsync.cc.orig 2007-12-12 20:45:28 +0100
+++ cmd_netsync.cc f8a1dbbcdfd3bd36740964c0095f6128ff2ba7ab +++ cmd_netsync.cc 2007-12-13 08:59:14 +0100
@@ -179,7 +179,11 @@ CMD(pull, "pull", "", CMD_REF(network), @@ -179,7 +179,11 @@
find_key_if_needed(addr, include_pattern, exclude_pattern, app, false); find_key_if_needed(addr, include_pattern, exclude_pattern, app, false);
if (app.opts.signing_key() == "") if (app.opts.signing_key() == "")
@ -259,7 +256,7 @@ Index: cmd_netsync.cc
std::list<utf8> uris; std::list<utf8> uris;
uris.push_back(addr); uris.push_back(addr);
@@ -277,7 +281,11 @@ CMD(clone, "clone", "", CMD_REF(network) @@ -277,7 +281,11 @@
app.create_workspace(workspace_dir); app.create_workspace(workspace_dir);
if (internal_db) if (internal_db)
@ -271,7 +268,7 @@ Index: cmd_netsync.cc
else else
app.set_database(app.opts.dbname); app.set_database(app.opts.dbname);
@@ -299,7 +307,11 @@ CMD(clone, "clone", "", CMD_REF(network) @@ -299,7 +307,11 @@
app, false); app, false);
if (app.opts.signing_key() == "") if (app.opts.signing_key() == "")
@ -283,11 +280,10 @@ Index: cmd_netsync.cc
if (!app.db.var_exists(default_include_pattern_key) if (!app.db.var_exists(default_include_pattern_key)
|| app.opts.set_default) || app.opts.set_default)
===================================================================
Index: cmd_ws_commit.cc Index: cmd_ws_commit.cc
--- cmd_ws_commit.cc 8321ee742a65e2ebaf58c328bdf6bdda11c8f21c --- cmd_ws_commit.cc.orig 2007-12-12 20:45:28 +0100
+++ cmd_ws_commit.cc 9a5206ea33d8580755038d375e7ca7779dc69877 +++ cmd_ws_commit.cc 2007-12-13 08:59:14 +0100
@@ -66,7 +66,14 @@ revision_summary(revision_t const & rev, @@ -66,7 +66,14 @@
for (set<file_path>::const_iterator i = cs.dirs_added.begin(); for (set<file_path>::const_iterator i = cs.dirs_added.begin();
i != cs.dirs_added.end(); ++i) i != cs.dirs_added.end(); ++i)
@ -302,7 +298,7 @@ Index: cmd_ws_commit.cc
for (map<file_path, file_id>::const_iterator i = cs.files_added.begin(); for (map<file_path, file_id>::const_iterator i = cs.files_added.begin();
i != cs.files_added.end(); ++i) i != cs.files_added.end(); ++i)
@@ -1349,7 +1356,11 @@ CMD_NO_WORKSPACE(import, "import", "", C @@ -1355,7 +1362,11 @@
catch (...) catch (...)
{ {
// clean up before rethrowing // clean up before rethrowing
@ -314,11 +310,10 @@ Index: cmd_ws_commit.cc
throw; throw;
} }
===================================================================
Index: diff_patch.cc Index: diff_patch.cc
--- diff_patch.cc 2016526a3148b6c23a04dd3c50b1af6f5f70a2fd --- diff_patch.cc.orig 2007-12-12 20:45:30 +0100
+++ diff_patch.cc e634a994222ce41429f90f12c19b23c7782013d5 +++ diff_patch.cc 2007-12-13 08:59:14 +0100
@@ -1324,6 +1324,9 @@ make_diff(string const & filename1, @@ -1324,6 +1324,9 @@
{ {
case unified_diff: case unified_diff:
{ {
@ -328,7 +323,7 @@ Index: diff_patch.cc
ost << "--- " << filename1 << '\t' << id1 << '\n'; ost << "--- " << filename1 << '\t' << id1 << '\n';
ost << "+++ " << filename2 << '\t' << id2 << '\n'; ost << "+++ " << filename2 << '\t' << id2 << '\n';
@@ -1333,6 +1336,9 @@ make_diff(string const & filename1, @@ -1333,6 +1336,9 @@
} }
case context_diff: case context_diff:
{ {
@ -338,11 +333,10 @@ Index: diff_patch.cc
ost << "*** " << filename1 << '\t' << id1 << '\n'; ost << "*** " << filename1 << '\t' << id1 << '\n';
ost << "--- " << filename2 << '\t' << id2 << '\n'; ost << "--- " << filename2 << '\t' << id2 << '\n';
===================================================================
Index: file_io.cc Index: file_io.cc
--- file_io.cc 358fb964dc42e7f936a136342b93bb3a4744d1b3 --- file_io.cc.orig 2007-12-12 20:45:31 +0100
+++ file_io.cc 6b452acaa58ca24fa5611ea3e6e82e83a7cf7552 +++ file_io.cc 2007-12-13 08:59:14 +0100
@@ -398,16 +398,36 @@ write_data(file_path const & path, data @@ -398,16 +398,36 @@
write_data(file_path const & path, data const & dat) write_data(file_path const & path, data const & dat)
{ {
// use the bookkeeping root as the temporary directory. // use the bookkeeping root as the temporary directory.
@ -379,11 +373,10 @@ Index: file_io.cc
} }
void void
===================================================================
Index: lua_hooks.cc Index: lua_hooks.cc
--- lua_hooks.cc e61801cae30ad803e68f8419729619159719137a --- lua_hooks.cc.orig 2007-12-12 20:45:33 +0100
+++ lua_hooks.cc 90e1266bafdac90484593fad2422ef2d3f6d4147 +++ lua_hooks.cc 2007-12-13 08:59:14 +0100
@@ -162,7 +162,11 @@ lua_hooks::workspace_rcfilename(bookkeep @@ -162,7 +162,11 @@
void void
lua_hooks::workspace_rcfilename(bookkeeping_path & file) lua_hooks::workspace_rcfilename(bookkeeping_path & file)
{ {
@ -395,11 +388,10 @@ Index: lua_hooks.cc
} }
===================================================================
Index: monotone.cc Index: monotone.cc
--- monotone.cc 38b648aa00e33cc5bd36114cd92ba9c04879290e --- monotone.cc.orig 2007-12-12 20:45:33 +0100
+++ monotone.cc b0d445153e03190779c99bc6da61cdcff5c7cdbf +++ monotone.cc 2007-12-13 08:59:14 +0100
@@ -229,12 +229,28 @@ cpp_main(int argc, char ** argv) @@ -229,12 +229,28 @@
if (!app.opts.dbname.empty()) if (!app.opts.dbname.empty())
app.db.set_filename(app.opts.dbname); app.db.set_filename(app.opts.dbname);
} }
@ -428,11 +420,10 @@ Index: monotone.cc
// at this point we allow a workspace (meaning search for it // at this point we allow a workspace (meaning search for it
// and if found read _MTN/options, but don't use the data quite // and if found read _MTN/options, but don't use the data quite
===================================================================
Index: options_list.hh Index: options_list.hh
--- options_list.hh e0359c1c2454708b66f9d7e6e613dc44953e1766 --- options_list.hh.orig 2007-12-12 20:45:35 +0100
+++ options_list.hh a4ef1088dad69309db69320d223cf9c168769fc5 +++ options_list.hh 2007-12-13 08:59:14 +0100
@@ -178,6 +178,24 @@ OPTION(diff_options, no_show_encloser, f @@ -178,6 +178,24 @@
no_show_encloser = true; no_show_encloser = true;
} }
#endif #endif
@ -457,11 +448,10 @@ Index: options_list.hh
OPT(diffs, "diffs", bool, false, gettext_noop("print diffs along with logs")) OPT(diffs, "diffs", bool, false, gettext_noop("print diffs along with logs"))
#ifdef option_bodies #ifdef option_bodies
===================================================================
Index: paths.cc Index: paths.cc
--- paths.cc d850c3efae62041b8003589817387e5877f63b01 --- paths.cc.orig 2007-12-12 20:45:35 +0100
+++ paths.cc 30e8e5ea486bbbda2344474f7bfa86f0b152c438 +++ paths.cc 2007-12-13 08:59:14 +0100
@@ -226,7 +226,11 @@ in_bookkeeping_dir(string const & path) @@ -226,7 +226,11 @@
static inline bool static inline bool
in_bookkeeping_dir(string const & path) in_bookkeeping_dir(string const & path)
{ {
@ -473,7 +463,7 @@ Index: paths.cc
return false; return false;
if (path.size() == 1 || (path[1] != 'M' && path[1] != 'm')) if (path.size() == 1 || (path[1] != 'M' && path[1] != 'm'))
return false; return false;
@@ -919,6 +923,9 @@ find_and_go_to_workspace(string const & @@ -919,6 +923,9 @@
// first look for the current name of the bookkeeping directory. // first look for the current name of the bookkeeping directory.
// if we don't find it, look for it under the old name, so that // if we don't find it, look for it under the old name, so that
// migration has a chance to work. // migration has a chance to work.
@ -483,11 +473,10 @@ Index: paths.cc
if (!find_bookdir(root, bookkeeping_root_component, current, removed)) if (!find_bookdir(root, bookkeeping_root_component, current, removed))
if (!find_bookdir(root, old_bookkeeping_root_component, current, removed)) if (!find_bookdir(root, old_bookkeeping_root_component, current, removed))
return false; return false;
===================================================================
Index: paths.hh Index: paths.hh
--- paths.hh f37bdd30f00c3448268723a701924ca5b9450891 --- paths.hh.orig 2007-12-12 20:45:35 +0100
+++ paths.hh 9aa55788e3a3b521f75a5c4d1e318d9dc97cdd40 +++ paths.hh 2007-12-13 08:59:14 +0100
@@ -325,6 +325,15 @@ private: @@ -325,6 +325,15 @@
// for migration // for migration
#define old_bookkeeping_root_component (path_component("MT")) #define old_bookkeeping_root_component (path_component("MT"))
@ -503,11 +492,10 @@ Index: paths.hh
// this will always be an absolute path // this will always be an absolute path
class system_path : public any_path class system_path : public any_path
{ {
===================================================================
Index: roster_merge.cc Index: roster_merge.cc
--- roster_merge.cc 5cbf793f50cf62a073ce837d337569d4ddb9475b --- roster_merge.cc.orig 2007-12-12 20:45:37 +0100
+++ roster_merge.cc 2a0fa3fcf1d7fb60f0fdca0238d9bdbfc34cb1a1 +++ roster_merge.cc 2007-12-13 08:59:14 +0100
@@ -607,6 +607,20 @@ roster_merge(roster_t const & left_paren @@ -633,6 +633,20 @@
result.roster.detach_node(n->self); result.roster.detach_node(n->self);
result.illegal_name_conflicts.push_back(conflict); result.illegal_name_conflicts.push_back(conflict);
} }
@ -528,11 +516,10 @@ Index: roster_merge.cc
} }
} }
===================================================================
Index: std_hooks.lua Index: std_hooks.lua
--- std_hooks.lua a53348ca15431cc67266c65e6215640f6f55eee7 --- std_hooks.lua.orig 2007-12-12 20:45:39 +0100
+++ std_hooks.lua 916cd22d3934d696d72799215b5e579e0b0ea899 +++ std_hooks.lua 2007-12-13 10:12:23 +0100
@@ -284,6 +284,15 @@ function edit_comment(basetext, user_log @@ -284,6 +284,15 @@
if user_log_message == "" or string.sub(user_log_message, -1) ~= "\n" then if user_log_message == "" or string.sub(user_log_message, -1) ~= "\n" then
tmp:write("\n") tmp:write("\n")
end end
@ -548,10 +535,13 @@ Index: std_hooks.lua
tmp:write(basetext) tmp:write(basetext)
io.close(tmp) io.close(tmp)
@@ -1175,3 +1184,164 @@ end @@ -1220,4 +1229,165 @@
netsync_notifiers[precedence] = notifier function push_netsync_notifier(notifier)
return true, warning return push_hook_functions(notifier)
end end
-end
\ No newline at end of file
+end
+ +
+-- #if defined(RSE) /* extra-command */ +-- #if defined(RSE) /* extra-command */
+ +
@ -713,11 +703,10 @@ Index: std_hooks.lua
+ +
+-- #endif +-- #endif
+ +
===================================================================
Index: work.cc Index: work.cc
--- work.cc 04389e4274f38d0b2bc866c6938d53bbda5e8a2f --- work.cc.orig 2007-12-12 20:45:48 +0100
+++ work.cc 6eefd2d6271215c56bf601ce08485a9f0cd88e25 +++ work.cc 2007-12-13 08:59:14 +0100
@@ -53,28 +53,44 @@ get_revision_path(bookkeeping_path & m_p @@ -53,28 +53,44 @@
static void static void
get_revision_path(bookkeeping_path & m_path) get_revision_path(bookkeeping_path & m_path)
{ {
@ -762,7 +751,7 @@ Index: work.cc
L(FL("inodeprints path is %s") % ip_path); L(FL("inodeprints path is %s") % ip_path);
} }
@@ -205,7 +221,11 @@ workspace::get_user_log_path(bookkeeping @@ -205,7 +221,11 @@
void void
workspace::get_user_log_path(bookkeeping_path & ul_path) workspace::get_user_log_path(bookkeeping_path & ul_path)
{ {
@ -774,7 +763,7 @@ Index: work.cc
L(FL("user log path is %s") % ul_path); L(FL("user log path is %s") % ul_path);
} }
@@ -387,7 +407,11 @@ workspace::get_local_dump_path(bookkeepi @@ -387,7 +407,11 @@
void void
workspace::get_local_dump_path(bookkeeping_path & d_path) workspace::get_local_dump_path(bookkeeping_path & d_path)
{ {
@ -786,7 +775,7 @@ Index: work.cc
L(FL("local dump path is %s") % d_path); L(FL("local dump path is %s") % d_path);
} }
@@ -747,7 +771,11 @@ path_for_detached_nids() @@ -747,7 +771,11 @@
static inline bookkeeping_path static inline bookkeeping_path
path_for_detached_nids() path_for_detached_nids()
{ {
@ -798,7 +787,7 @@ Index: work.cc
} }
static inline bookkeeping_path static inline bookkeeping_path
@@ -1483,9 +1511,15 @@ workspace::perform_pivot_root(file_path @@ -1483,9 +1511,15 @@
N(is_dir_t(new_roster.get_node(new_root)), N(is_dir_t(new_roster.get_node(new_root)),
F("proposed new root directory '%s' is not a directory") % new_root); F("proposed new root directory '%s' is not a directory") % new_root);
{ {
@ -814,11 +803,10 @@ Index: work.cc
} }
{ {
===================================================================
Index: work_migration.cc Index: work_migration.cc
--- work_migration.cc 3d58c3332cd195309eacf5cc52d4e88ad66a6c81 --- work_migration.cc.orig 2007-12-12 20:45:48 +0100
+++ work_migration.cc f044e25cc757899f97d413f3fe109a9bafe73553 +++ work_migration.cc 2007-12-13 08:59:14 +0100
@@ -55,9 +55,18 @@ get_ws_format() @@ -55,9 +55,18 @@
{ {
unsigned int format; unsigned int format;
bookkeeping_path f_path = bookkeeping_root / "format"; bookkeeping_path f_path = bookkeeping_root / "format";
@ -837,7 +825,7 @@ Index: work_migration.cc
format = 1; format = 1;
else if (directory_exists(file_path() / old_bookkeeping_root_component)) else if (directory_exists(file_path() / old_bookkeeping_root_component))
format = 0; format = 0;
@@ -69,7 +78,11 @@ get_ws_format() @@ -69,7 +78,11 @@
data f_dat; data f_dat;
try try
{ {
@ -849,7 +837,7 @@ Index: work_migration.cc
format = lexical_cast<unsigned int>(remove_ws(f_dat())); format = lexical_cast<unsigned int>(remove_ws(f_dat()));
} }
catch (exception & e) catch (exception & e)
@@ -80,7 +93,11 @@ get_ws_format() @@ -80,7 +93,11 @@
if (format == 1) if (format == 1)
{ {
W(F("_MTN/format should not exist in a format 1 workspace; corrected")); W(F("_MTN/format should not exist in a format 1 workspace; corrected"));
@ -861,7 +849,7 @@ Index: work_migration.cc
} }
} }
return format; return format;
@@ -90,6 +107,9 @@ workspace::write_ws_format() @@ -90,6 +107,9 @@
workspace::write_ws_format() workspace::write_ws_format()
{ {
bookkeeping_path f_path = bookkeeping_root / "format"; bookkeeping_path f_path = bookkeeping_root / "format";
@ -871,7 +859,7 @@ Index: work_migration.cc
// one or other side of this conditional will always be dead code, but // one or other side of this conditional will always be dead code, but
// both sides should be preserved, to document all historical formats. // both sides should be preserved, to document all historical formats.
// N.B. this will _not_ do the right thing for format 0. Which is fine. // N.B. this will _not_ do the right thing for format 0. Which is fine.
@@ -97,10 +117,19 @@ workspace::write_ws_format() @@ -97,10 +117,19 @@
{ {
if (file_exists(f_path)) if (file_exists(f_path))
delete_file(f_path); delete_file(f_path);
@ -891,7 +879,7 @@ Index: work_migration.cc
write_data(f_path, f_dat); write_data(f_path, f_dat);
} }
} }
@@ -180,7 +209,11 @@ migrate_1_to_2() @@ -180,7 +209,11 @@
// information, and _MTN/work does not exist; also, there may be more than // information, and _MTN/work does not exist; also, there may be more than
// one parent revision, but we do not have to worry about that here. // one parent revision, but we do not have to worry about that here.
@ -903,7 +891,7 @@ Index: work_migration.cc
data base_rev_data; MM(base_rev_data); data base_rev_data; MM(base_rev_data);
try try
{ {
@@ -196,7 +229,11 @@ migrate_1_to_2() @@ -196,7 +229,11 @@
cset workcs; cset workcs;
MM(workcs); MM(workcs);

6
monotone/monotone.spec

@ -32,8 +32,8 @@ Distribution: OpenPKG Community
Class: EVAL Class: EVAL
Group: SCM Group: SCM
License: GPL License: GPL
Version: 0.37 Version: 0.38
Release: 20071130 Release: 20071213
# package options # package options
%option with_rse yes %option with_rse yes
@ -45,7 +45,6 @@ Source3: monotone-setup.sh
Source4: monotone-colorize.pl Source4: monotone-colorize.pl
Source5: monotone-colorize.bashrc Source5: monotone-colorize.bashrc
Source6: monotone.bashrc Source6: monotone.bashrc
Patch0: monotone.patch
Patch1: monotone.patch.rse Patch1: monotone.patch.rse
# build information # build information
@ -78,7 +77,6 @@ AutoReqProv: no
%prep %prep
%setup -q %setup -q
%patch -p0
%if "%{with_rse}" == "yes" %if "%{with_rse}" == "yes"
%patch -p0 -P 1 %patch -p0 -P 1
%endif %endif

Loading…
Cancel
Save