Mercurial > hg
diff hgeditor @ 24390:72d7d390ef5d
patch._applydiff: resolve prefix with respect to the cwd
This has several advantages compared to resolving it relative to the root:
- '--prefix .' works as expected.
- consistent with upcoming 'hg diff' option to produce relative patches
(I made sure to put in the (glob) annotations this time!)
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Thu, 19 Mar 2015 10:18:05 -0700 |
parents | 2b440bb8a66b |
children | 1aee2ab0f902 |