From: Matthias Vallentin <vallentin@icsi.berkeley.edu>
To: Ben Walton <bwalton@artsci.utoronto.ca>
Cc: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] current state of synching upstream?
Date: Wed, 22 Dec 2010 06:42:22 -0800 [thread overview]
Message-ID: <20101222144222.GG60419@icsi.berkeley.edu> (raw)
In-Reply-To: <1292940403-sup-7858@pinkfloyd.chass.utoronto.ca>
On Tue, Dec 21, 2010 at 09:11:42AM -0500, Ben Walton wrote:
> I'm looking at the code again right now as the Recoverable may be the
> key as to why this doesn't get saved...
I did some printf-debugging at shutdown time and am now really puzzled
why SourceManager.save_source is not invoked. The function Index.save
and SourceManager.save_source look as follows:
def save
debug "saving index and sources..."
FileUtils.mkdir_p @dir unless File.exists? @dir
-> debug "*** Index.save"
SourceManager.save_sources
save_index
end
def save_sources fn=Redwood::SOURCE_FN
-> debug "*** SourceManager.save_sources"
@source_mutex.synchronize do
...
end
end
Adding the with -> marked statement in Index.save printed, however, not
the debug statement in SourceManager.save_sources! Any ideas how this is
possible?
Matthias
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
next prev parent reply other threads:[~2010-12-22 14:46 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-08 9:40 Ryan Barrett
2010-04-11 17:52 ` Ryan Barrett
2010-04-12 0:57 ` Rich Lane
2010-04-12 5:02 ` Andrew Pimlott
2010-04-12 12:11 ` Daemian Mack
2010-04-12 9:53 ` Tero Tilus
2010-04-14 13:00 ` William Morgan
2010-04-14 14:16 ` Ben Walton
2010-04-14 15:57 ` William Morgan
2010-04-14 16:08 ` Ben Walton
2010-12-15 8:19 ` Matthias Vallentin
2010-12-15 17:06 ` James Taylor
2010-12-18 5:12 ` Matthias Vallentin
2010-12-18 5:25 ` James Taylor
2010-12-18 19:04 ` Matthias Vallentin
2010-12-18 19:21 ` Ben Walton
2010-12-18 20:02 ` Tero Tilus
2010-12-18 20:12 ` Ben Walton
2010-12-21 6:44 ` Matthias Vallentin
2010-12-21 6:48 ` Matthias Vallentin
2010-12-21 11:01 ` Tero Tilus
2010-12-21 14:11 ` Ben Walton
2010-12-22 14:42 ` Matthias Vallentin [this message]
2010-12-22 16:27 ` Tero Tilus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101222144222.GG60419@icsi.berkeley.edu \
--to=vallentin@icsi.berkeley.edu \
--cc=bwalton@artsci.utoronto.ca \
--cc=sup-talk@rubyforge.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox