[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] RFC: sunpro support
From: |
Patrick Mauritz |
Subject: |
[Monotone-devel] RFC: sunpro support |
Date: |
Fri, 12 Aug 2005 18:09:25 +0200 |
hello all,
I finally found the culprit of my last big issue with monotone and
sunpro:
std::pair of stlport seems to use a copy constructor (for whatever weird
reason) on creation, and copying a newly created revision_set is bound
to fail.
my solution is to check if the new_manifest is empty, and behave like
the normal constructor in that case.
I'd like some feedback on that before I commit (or not, depending on
feedback), so feel free
thanks,
patrick mauritz
--- revision.cc c101902d74cfb7895e97353079610a8ac824ce52
+++ revision.cc 19e957fd0a52f8c22d0eb9a7ac14e0968b17c834
@@ -73,6 +73,7 @@
revision_set::revision_set(revision_set const & other)
{
+ if (null_id(other.new_manifest)) return; // behave like the normal
constructor
other.check_sane();
new_manifest = other.new_manifest;
edges = other.edges;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-devel] RFC: sunpro support,
Patrick Mauritz <=