"bzr patch" internal error

Bug #204320 reported by Alex Rousskov
12
Affects Status Importance Assigned to Milestone
BzrTools
Fix Released
Undecided
Unassigned

Bug Description

Trying to apply a patch with "bzr patch" triggered an internal error. The log is attached.

FWIW, the patch contained new files. I also should have used a --strip argument, I guess, but I get the same kind of internal error with --strip=1.

Stand-alone patch succeeds with "-p1", reporting one hunk failure.

Related branches

Revision history for this message
Alex Rousskov (rousskov) wrote :
Revision history for this message
Aaron Bentley (abentley) wrote : Re: [Bug 204320] [NEW] "bzr patch" internal error

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alex Rousskov wrote:
> Public bug reported:
>
> Trying to apply a patch with "bzr patch" triggered an internal error.
> The log is attached.
>
> FWIW, the patch contained new files. I also should have used a --strip
> argument, I guess, but I get the same kind of internal error with
> --strip=1.
>
> Stand-alone patch succeeds with "-p1", reporting one hunk failure.

Bazaar patches default to -p0. --strip=1 should have worked, though. I
guess we should also change PatchFailed to a non-internal error.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH4pYR0F+nu1YWqI0RAqgZAJ0UL00ix+mSQlAljsHqthcbuO79CgCfXSzl
2j57ghgS/tzky17VI1oy0Xs=
=/HTU
-----END PGP SIGNATURE-----

Revision history for this message
John A Meinel (jameinel) wrote :

'patch' is a command provided by the 'bzrtools' plugin

Aaron Bentley (abentley)
Changed in bzrtools:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.