Here's a pretty simple test and fix for bug 463.  I also noticed that 
bug 194 seems to be fixed but the ticket is still open.

Mon Aug  1 20:21:16 EDT 2005  Matt Lavin <[EMAIL PROTECTED]>
  * fix for bug 463 (with new test)

New patches:

[fix for bug 463 (with new test)
Matt Lavin <[EMAIL PROTECTED]>**20050802002116] {
hunk ./Add.lhs 256
-             return $ f: map (\f'->f++"/"++f') fs
+             return $ f: map (\f'-> join f f') fs
+          where join base ('.':'/':rest) = join base rest
+                join base dir = base ++ "/" ++ dir 
hunk ./tests/add.pl 60
+###
+
+$test_name = 'Make sure that add output looks good when adding files in subdir.';
+mkpath 'd.d/';
+touch 'd.d/foo';
+like(darcs(qw(add -rv d.d)), qr/d.d\/foo/,$test_name);
+
}

Context:

[TAG 1.0.4pre2
David Roundy <[EMAIL PROTECTED]>**20050731121029] 
Patch bundle hash:
5efa70297637ddd94952a0e570c5982e984a0ca5
_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to