Hi,

trying to install RC2 on Mac OS X 10.4.3. The make test fails in the pull.pl file, line 46.

Aparently, after the chmod -w of repo temp1, darcs is stil able to pull and apply changes.

I tried this again with my own repo and I'm not sure what's going on:

[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l)$ alias darcs=~/t/darcs-1.0.4rc2/ darcs
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l)$ mkdir a
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l)$ cd a
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l/a)$ darcs init
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l/a)$ mkdir one
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l/a)$ darcs add one
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l/a)$ darcs  reco -m foo -a
Darcs needs to know what name (conventionally an email address) to use as the patch author, e.g. 'Fred Bloggs <[EMAIL PROTECTED]>'. If you provide one now it will be stored in the file '_darcs/prefs/author' and used as a default in the future. To change your preferred author address, simply delete or edit
this file.

What is your email address? me
Finished recording patch 'foo'
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l/a)$ cd ..
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l)$ darcs get a b
Copying patch 1 of 1... done!
Finished getting.
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l)$ chmod -w b/one
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l)$ ls -lad b/one
dr-xr-xr-x   2 melo  melo  68 Nov 13 13:16 b/one
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l)$ cd a
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l/a)$ date > one/hi
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l/a)$ darcs add one/hi
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l/a)$ darcs reco -m bar -a
Finished recording patch 'bar'
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l/a)$ cd ../
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l)$ cd a
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l/a)$ cd ../b
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l/b)$ ls -lad one
dr-xr-xr-x   2 melo  melo  68 Nov 13 13:16 one
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l/b)$ darcs pull -a
Pulling from "/Users/melo/t/darcs-1.0.4rc2/l/a"...

darcs failed:  user error (Error applying patch to working dir:
takeFile ./one/hi-0 in /Users/melo/t/darcs-1.0.4rc2/l/b: failed (Unknown error: 0))
This may have left your working directory an inconsistent
but recoverable state. If you had no un-recorded changes
by using 'darcs revert' you should be able to make your
working directory consistent again.


[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l/b)$ darcs wh
{
hunk ./one/hi 1
-Sun Nov 13 13:17:26 WET 2005
rmfile ./one/hi
}
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l/b)$ darcs unpull

Sun Nov 13 13:17:49 WET 2005  me
  * bar
Shall I unpull this patch? (1/2) [ynWvpxqadjk], or ? for help: y

Sun Nov 13 13:16:43 WET 2005  me
  * foo
Shall I unpull this patch? (2/2) [ynWvpxqadjk], or ? for help:
d

darcs failed: Can't unpull patch without reverting some unrecorded change.
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l/b)$ darcs revert
hunk ./one/hi 1
-Sun Nov 13 13:17:26 WET 2005
Shall I revert this patch? (1/?) [ynWsfqadjkc], or ? for help: y
Do you really want to revert these changes? y

darcs failed: Unable to apply inverse patch!takeFile ./one/hi-0 in / Users/melo/t/darcs-1.0.4rc2/l/b: failed (Unknown error: 0)
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l/b)$ darcs --exact-version
darcs compiled on Nov 13 2005, at 01:46:55
unknown
[EMAIL PROTECTED](~/t/darcs-1.0.4rc2/l/b)$ darcs --version
1.0.4rc2 (unknown)

Using ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.4.1

Any ideas?

Thanks,
--
Pedro Melo
JID: [EMAIL PROTECTED]


_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to