The last step in the following script fails with darcs HEAD and not
darcs 2.4.3 under Linux. It seems darcs HEAD wants that all file paths
are given as starting from the root of the working copy.
#!/bin/sh
set -v
mkdir -p tmp/subdir
cd tmp
touch a
touch subdir/b
darcs init
darcs add a subdir subdir/b
darcs rec -am"first add"
cd subdir
rm b
darcs rec b -am"delete b" # darcs failed: None of the files you
specified exist!
# ~/bin/darcs-2.4.3* rec b -am"delete b"
# Recording changes in "subdir/b":
#
# Finished recording patch 'delete b'
On Thu, May 13, 2010 at 11:45:05 +0000, gh wrote:
> The last step in the following script fails with darcs HEAD and not
> darcs 2.4.3 under Linux. It seems darcs HEAD wants that all file paths
> are given as starting from the root of the working copy.
Hmm, sounds like we've got a regression then.
Thanks for this! See http://wiki.darcs.net/Development/RegressionTests
for the next step (filing a formal regression test; it's super easy now
that you've done all the hard stuff).
--
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
I should add that this does not happen for modified files. I can only
reproduce it with deleted files. (ie in the example, when b is modified,
darcs is not failing).
Also, the behaviour seems to have been mis-identified.
Can you confirm, Guillaume?
If you think if you have a case where it's actually about the location
of the file wrt the working copy and not just the about pending patch,
please open a new ticket and reference this one
The following patch updated issue issue1845 with status=resolved;resolvedin=2.6.0 HEAD
* Resolve issue1845: fix "darcs record f" for f a removed, version-tracked file.
Ignore-this: 6c13d9e337c0f5df4321dd71640b9bc6
The following patch updated issue issue1845 with status=resolved;resolvedin=2.5.0 CURRENT
* Resolve issue1845: fix "darcs record f" for f a removed, version-tracked file.
Ignore-this: 6c13d9e337c0f5df4321dd71640b9bc6
The following patch updated issue issue1845 with status=resolved;resolvedin=2.5.0 CURRENT
* Resolve issue1845: fix "darcs record f" for f a removed, version-tracked file.
Ignore-this: 6c13d9e337c0f5df4321dd71640b9bc6