[darcs-users] economical get --to-match handling

Florent Becker florent.becker at ens-lyon.org
Fri Oct 15 14:23:49 UTC 2010


Hi list,

in Commands/Get.lhs, there is a special case when using 'darcs get
--to-match' on a non-hashed repository. This special case is
'patchSetToRepository', whose haddock follows:

-- | patchSetToRepository takes a patch set, and writes a new repository
in the current directory
--   that contains all the patches in the patch set. This function is
used when 'darcs get'ing a
--   repository with the --to-match flag and the new repository is not
in hashed format.
--   This function does not (yet) work for hashed repositories. If the
passed @DarcsFlag at s tell
--   darcs to create a hashed repository, this function will call @error at .

do we want to make that function work for hashed repositories?

Thanks,

Florent



More information about the darcs-users mailing list