[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: patch path absolute instead of relative?

From: McKenna, Simon (RGH) <Simon.McKenna_at_rgh.sa.gov.au>
Date: 2005-03-21 03:09:00 CET

-> I think the Create/Apply patch stuff is almost 100% from Eclipse,
-> definitely the latter is. So the patch format is in the
-> format the Eclipse apply process prefers.

Fair enough, but:

- Won't that mean applying patches with absolute paths will
  only work locally, or only when both the creator and applier
  share matching paths?

- Isn't this different from the standard svn diff behaviour?
  (ie. inside wc == relative, outside wc == absolute)

Just tried another test by modifying a file, created a patch
to clipboard, reverted the file, then tried to apply the patch:

- When I applied the patch using an absolute path, "Verify Patch"
  dialog reported "(file does not exist)" and wouldn't apply it?

- I then modified the patch in clipboard to use a relative path,
  and it worked!

So either my understanding of how to apply patches is wonky,
or something isn't quite right...

peace
si
Received on Mon Mar 21 13:09:00 2005

This is an archived mail posted to the Subclipse Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.