[darcs-devel] [issue2434] When a patch is pushed to a repo with the 'apply --test' default set darcs test runs twice

Scott Dunifon bugs at darcs.net
Tue Feb 3 19:08:14 UTC 2015


New submission from Scott Dunifon <sdunifon at gmail.com>:

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 at 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

----------
files: darcs_duplicate_apply_test_bug.tar.gz
messages: 17994
nosy: sdunifon
priority: bug
status: unknown
title: When a patch is pushed to a repo with the 'apply --test' default set darcs test runs twice

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2434>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: darcs_duplicate_apply_test_bug.tar.gz
Type: application/x-gzip
Size: 14349 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20150203/40bbbe6f/attachment-0001.bin>


More information about the darcs-devel mailing list