[darcs-users] [patch232] Accept issue1232: darcs convert fails if... (and 1 more)

Eric Kow kowey at darcs.net
Wed May 5 15:07:18 UTC 2010


> Wed May  5 10:01:11 EDT 2010  Dino Morelli <dino at ui3.info>
>   * Extend issue1232: test to account for missing _darcs/prefs/prefs case
>   
>   Also now sourcing tests/lib.
> 
> Wed May  5 10:15:00 EDT 2010  Dino Morelli <dino at ui3.info>
>   * Extend issue1232: darcs convert fails if missing _darcs/prefs/prefs
>   
>   In the earlier fix for this issue, did not consider the possibility that
>   the prefs file may not be present in the source repo.

These look fine and they'll be going in.

One remark below.

Extend issue1232: test to account for missing _darcs/prefs/prefs case
---------------------------------------------------------------------
> +# Create source repo
> +darcs init --old-fashioned-inventory --repo R
> +
> +# Check that the new repo is d2
> +test -f S/_darcs/hashed_inventory

In case there's any confusion about old-fashioned vs hashed vs
darcs-2 here, check out
http://wiki.darcs.net/RepositoryFormats

There's a slight risk of the script perpetuating such confusion.  You
could have init --hashed and checked for darcs 2 by some other means
(err, show repo?)

It's a minor point of little consequence.

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20100505/8c249c19/attachment.pgp>


More information about the darcs-users mailing list