Issue 2230 darcs get --context with invalid context fails too late

Title darcs get --context with invalid context fails too late
Priority Status resolved
Milestone Resolved in 2.10.0 CURRENT
Superseder Nosy List owst
Assigned To

Created on 2012-09-02.20:59:56 by owst, last changed 2012-11-12.01:05:40 by noreply.

msg16052 (view) Author: owst Date: 2012-09-02.20:59:55
1. Summarise the issue (what were doing, what went wrong?)

I did:

    darcs get --context patch_preview.txt http://darcs.net

which does the full get, then attempts to parse the context file. Since
the get can take a fair while, it'd be nice (and least surprise) if
darcs failed before the get if it can't parse the context file.

2. What behaviour were you expecting instead?

darcs to fail before attempting to get the remote repo

3. What darcs version are you using? (Try: darcs --exact-version)

2.9.4 (+ 11 patches)

4. What operating system are you running?

Linux x86_64
msg16357 (view) Author: noreply Date: 2012-11-12.01:05:38
The following patch sent by Owen Stephens <darcs@owenstephens.co.uk> updated issue issue2230 with
status=resolved;resolvedin=2.10.0 HEAD

* resolve issue2230: die immediately if an invalid context file is provided to get --context 
Ignore-this: 8d437e1698ad930ee28fe51913986d8e
Date User Action Args
2012-09-02 20:59:56owstcreate
2012-11-12 01:05:40noreplysetstatus: unknown -> resolved
messages: + msg16357
resolvedin: 2.10.0 CURRENT