darcs

Issue 2434 When a patch is pushed to a repo with the 'apply --test' default set darcs test runs twice

Title When a patch is pushed to a repo with the 'apply --test' default set darcs test runs twice
Priority bug Status unknown
Milestone Resolved in
Superseder Nosy List sdunifon
Assigned To
Topics

Created on 2015-02-03.19:08:14 by sdunifon, last changed 2015-02-03.19:08:14 by sdunifon.

Files
File name Uploaded Type Edit Remove
darcs_duplicate_apply_test_bug.tar.gz sdunifon, 2015-02-03.19:08:12 application/x-gzip
Messages
msg17994 (view) Author: sdunifon Date: 2015-02-03.19:08:12
1. Summarise the issue (what were doing, what went wrong?)
When a remote repository has its _darcs/prefs/defaults file set to:
apply --test

And then another repository pushes a patch to this repository darcs will run the test twice.

2. What behaviour were you expecting instead?

Darcs should only run test once.

Example repository provided. To reproduce the bug extract the file. Then cd into the repo1 directory.

Then run:
darcs push ../remote_repo -a

You then should see:

"Running test Suite"

Displayed twice. When it should only be displayed once.
3. What darcs version are you using? (Try: darcs --exact-version)

darcs compiled on Sep  4 2014, at 16:08:24

Context:

[TAG 2.8.5
Ganesh Sittampalam <ganesh@earth.li>**20140825204639
 Ignore-this: 4e6c90569ceab19a231cdd4c5089b4c2
]

Compiled with:

HTTP-4000.2.18
array-0.4.0.0
base-4.5.0.0
bytestring-0.9.2.1
containers-0.4.2.1
directory-1.1.0.2
extensible-exceptions-0.1.1.4
filepath-1.3.0.0
hashed-storage-0.5.11
haskeline-0.7.1.3
html-1.0.1.2
mmap-0.5.9
mtl-2.2.1
network-2.6.0.2
network-uri-2.6.0.1
old-time-1.1.0.0
parsec-3.1.5
process-1.1.0.1
random-1.0.1.1
regex-compat-0.95.1
tar-0.4.0.1
terminfo-0.3.2.6
text-1.1.1.3
unix-2.5.1.0
utf8-string-0.3.8
vector-0.10.11.0
zlib-0.5.4.1

4. What operating system are you running?
  Ubuntu 12.04
  Ubuntu 14.10
  Mac OS X
Attachments
History
Date User Action Args
2015-02-03 19:08:14sdunifoncreate