Advertisement
mateorod

merge_1725.diff

Feb 6th, 2015
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.81 KB | None | 0 0
  1. mateor@mateor-HP-m6:~/development/new_pants/pants$ git branch
  2.   intellij
  3. * master
  4.   zipalign3
  5. mateor@mateor-HP-m6:~/development/new_pants/pants$ git pull pants master
  6. From https://github.com/pantsbuild/pants
  7.  * branch            master     -> FETCH_HEAD
  8. Already up-to-date.
  9. mateor@mateor-HP-m6:~/development/new_pants/pants$ ./rbt patch 1725
  10. Patch is being applied from request 1725 with diff revision 3.
  11.  
  12. error: patch failed: src/python/pants/base/target.py:5
  13. Falling back to three-way merge...
  14. Applied patch to 'src/python/pants/base/target.py' with conflicts.
  15. U src/python/pants/base/target.py
  16.  
  17. The patch was partially applied, but there were conflicts in:
  18.  
  19.     src/python/pants/base/target.py
  20.  
  21. mateor@mateor-HP-m6:~/development/new_pants/pants$ git log -1
  22. commit 58b6b15e70181611433cfb39f941ad4c1206baf1
  23. Author: John Sirois <john.sirois@gmail.com>
  24. Date:   Fri Feb 6 13:37:18 2015 -0700
  25.  
  26.     Expand scope of python file format checks.
  27.    
  28.     This expands check_header.sh and isort.sh scope out to the examples/ and
  29.     testprojects/ directories.
  30.    
  31.     Testing Done:
  32.     I ran `./build-support/bin/check_header.sh` and
  33.     `./build-support/bin/isort.sh -f` producing the examples/ and
  34.     testprojects/ fixes in this RB.
  35.    
  36.     CI went green here:
  37.       https://travis-ci.org/pantsbuild/pants/builds/49789005
  38.    
  39.     Bugs closed: 1052
  40.    
  41.     Reviewed at https://rbcommons.com/s/twitter/r/1729/
  42.  
  43. ####################################################################
  44. Snippet from target.py
  45.  
  46.  
  47. <<<<<<< ours
  48. import os
  49. import sys
  50. =======
  51. import functools
  52. import os
  53. >>>>>>> theirs
  54. from hashlib import sha1
  55.  
  56.  
  57. #################################################################
  58.  
  59. Diff that fails:
  60.  
  61. -from hashlib import sha1
  62. +import functools
  63.  import os
  64. -import sys
  65. +from hashlib import sha1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement