[darcs-devel] darcs patch: fix pulling from a relative defaultrepo ... (and 3 more)

David Roundy droundy at abridgegame.org
Fri Jul 22 04:41:46 PDT 2005


Hi Ian,

Here's a fix for RT#208.  It's a bit complicated, and I'm not too happy
with the FilePathUtils module I introduced, but I think the idea is sound.
The defaultrepo is handled by pretending the user specified it on the
command line.  The problem is that relative paths specified on the command
line are interpereted as being relative to the calling directory, and
adjusted appropriately, while defaultrepo holds paths relative to the
repository root.  So I add an appropriate number of "../" to the beginning
of the file.

I'm also including a minor improvement to make_changelog and a changelog
entry.

Fri Jul 22 06:57:08 EDT 2005  David Roundy <droundy at abridgegame.org>
  * fix pulling from a relative defaultrepo from within a subdirectory.
  This is a fix for bug #208.  It is perhaps a tad more invasive than
  necesary, and introduces a FilePathUtils module that is perhaps
  overkill... especially since it doesn't do much.

Fri Jul 22 06:59:08 EDT 2005  David Roundy <droundy at abridgegame.org>
  * give better error message when dealing with a non-repository.

Fri Jul 22 07:37:01 EDT 2005  David Roundy <droundy at abridgegame.org>
  * make make_changelog a bit more flexible in its parsing.
  One can now have blank lines between the match: lines and the actual
  comments.

Fri Jul 22 07:38:03 EDT 2005  David Roundy <droundy at abridgegame.org>
  * changelog entry for fix to RT#208.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 30861 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20050722/afc739b0/attachment.bin


More information about the darcs-devel mailing list