slight inconsistency with fixups cwd during mr checkout

Joey Hess joey at kitenet.net
Mon Feb 13 19:55:38 CET 2012


Adam Spiers wrote:
> If I mr checkout a repo which has fixups defined, they are run from
> the parent of $MR_REPO, whereas if the fixups are run via 'mr fixups'
> or 'mr update', they are run from inside $MR_REPO.  This means that
> fixups need an extra 'cd' at the top if they need to run from inside
> the repo, which is pretty common, e.g.:
> 
>     fixups =
>         cd "$MR_REPO"
>         make install
> 
> It would be nice if mr did the chdir in the checkout case too, to make
> things more consistent.

Done.

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.madduck.net/pipermail/vcs-home/attachments/20120213/0c9698de/attachment.pgp>


More information about the vcs-home mailing list