[darcs-users] Re: cannot use darcs to control my systems-config because darcs diff doesnt work if darcs repos is (yes, i mean root)

Stefan Rank stefan.rank at oefai.at
Sat Jan 29 15:27:45 UTC 2005


On Sat, 29 Jan 2005, David Roundy wrote:

> On Fri, Jan 28, 2005 at 07:21:54PM -0800, Sean Perry wrote:
> > Thies C. Arntzen wrote:
> > >don't you think that (a) [ "new-repos" instead of "repos-new" ] would be
> > >the safest bet as not all utilities are guaranteed to understand '--'.
> >
> > The real answer to the bug is to properly use absolute file names, so
> > /-old would be fine.
>
> I'm going with the simple new-repos patch.
>
> Since the file names are included in the diff itself, this may output more
> information about your file system layout than you really want.  And then
> they'd always have to look at the diff to see whether to apply it with -p0,
> -p1 or -p4.

What about just using more explicit relative paths?
That is,
  diff -Nu ./repo-old ./repo-new

(which is a general idea for avoiding problems with filenames that defeat
option parsing)

Stefan





More information about the darcs-users mailing list