bazaar - how to make a patch
Hi all, How do I make a patch from a checkout?
Annoyed, Johan
2010/1/17 <J.B.C.Engelen@...1578...>:
Hi all, How do I make a patch from a checkout?
Annoyed, Johan
It's best to use the command line client. I don't know whether TortoiseBZR can do this. Generating a patch from a checkout should work the same as generating it from a local branch. Patch of uncommitted changes: bzr diff
Patch of all changes since revision 8600, including uncommitted changes: bzr diff -r8600
Patch of changes introduced in revision 8645: bzr diff -r8644..8645
Patch of changes between 8645 and 8700: bzr diff -r8645..8700
Patch of changes in branch xxx relative to branch yyy: bzr diff --old path/to/xxx --new path/to/yyy
To store in a file: bzr diff > killer-feature.patch (also works on Windows)
All this is also explained when you type "bzr help diff".
Regards, Krzysztof
W dniu 17 stycznia 2010 17:13 użytkownik Krzysztof Kosiński <tweenk.pl@...400...> napisał:
Patch of changes in branch xxx relative to branch yyy: bzr diff --old path/to/xxx --new path/to/yyy
Oops, of course it should be bzr diff --old path/to/yyy --new path/to/xxx
Regards, Krzysztof
Hmm, it seems bazaar is broken since I updated it. Downgraded, so now I can make a patch. The tortoise UI doesn't seem to provide me with an option to make a patch, but cmdline diff works. So how do I apply a patch?
Thanks, Johan
-----Original Message----- From: Krzysztof Kosiński [mailto:tweenk.pl@...400...] Sent: zondag 17 januari 2010 17:14 To: Engelen, J.B.C. (Johan) Cc: inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] bazaar - how to make a patch
W dniu 17 stycznia 2010 17:13 użytkownik Krzysztof Kosiński <tweenk.pl@...400...> napisał:
Patch of changes in branch xxx relative to branch yyy: bzr diff --old path/to/xxx --new path/to/yyy
Oops, of course it should be bzr diff --old path/to/yyy --new path/to/xxx
Regards, Krzysztof
-----Original Message----- From: Engelen, J.B.C. (Johan) Sent: zondag 17 januari 2010 22:02 To: 'Krzysztof Kosiński' Cc: inkscape-devel@lists.sourceforge.net Subject: RE: [Inkscape-devel] bazaar - how to make a patch
Hmm, it seems bazaar is broken since I updated it. Downgraded, so now I can make a patch. The tortoise UI doesn't seem to provide me with an option to make a patch, but cmdline diff works. So how do I apply a patch?
Sorry, I am so lazy. Again, the tortoise UI does not expose it to me yet: there is a 'bzr patch [filename]' command...
participants (2)
-
unknown@example.com
-
Krzysztof Kosiński