[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Import command doesn't import everything even with --no
From: |
Václav Haisman |
Subject: |
[Monotone-devel] Import command doesn't import everything even with --no-respect-ignore option on. |
Date: |
Mon, 19 Feb 2007 09:34:40 +0100 |
User-agent: |
Thunderbird 1.5.0.9 (Windows/20061207) |
Hi,
yesterday, I've filled a bug report
<https://savannah.nongnu.org/bugs/?19078> about the subject. Today I
looked at the source and I found a puzzling piece of code. It is
starting at line 1069 of cmd_ws_commit.cc:
vector<utf8> empty_args;
options save_opts;
// add --unknown
save_opts.no_ignore = app.opts.no_ignore;
save_opts.exclude_patterns = app.opts.exclude_patterns;
app.opts.no_ignore = false;
app.opts.exclude_patterns = std::vector<utf8>();
app.opts.unknown = true;
process(app, "add", empty_args);
app.opts.unknown = false;
app.opts.no_ignore = save_opts.no_ignore;
app.opts.exclude_patterns = save_opts.exclude_patterns;
Why is the 6th line of this snipped disabling the --no-respect-ignore
flag? I have not actually tried removing it and to run the test case but
it seems like it could be the culprit.
--
Vaclav Haisman
signature.asc
Description: OpenPGP digital signature
- [Monotone-devel] Import command doesn't import everything even with --no-respect-ignore option on.,
Václav Haisman <=