Mercurial > hg
comparison mercurial/util.py @ 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 | de14c3972c2f |
children | 2ddfac2f163e |
comparison
equal
deleted
inserted
replaced
24389:93d3e1a8bfb0 | 24390:72d7d390ef5d |
---|