| 
			
			 | 
		#16 | 
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 56 
				Karma: 64 
				Join Date: Nov 2007 
				
				
				
				Device: Kindle 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Very cool!
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#17 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I'd suggest posting the patch, you can generate it with 
		
	
		
		
		
		
		
		
		
		
		
		
	
	bzr send -o mypatch or if you prefer a normal patch bzr diff > mypatch  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#18 | 
| 
			
			
			
			 Calibre Plugins Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,735 
				Karma: 2208556 
				Join Date: Oct 2010 
				Location: Australia 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hi Kovid, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Happy to generate the patch file and (presumably) add it to the tracker with a feature request. However I think I need a slightly different command line since I did all this against revision 6785 (the tag of 2.7.6)? So to get the code I had done: bzr branch lp:calibre bzr revert -r 6785 If it is all too hard I can get the latest code and reapply changes to that. It's only a few files that were changed - feel free to tell me the recommended way to get the latest too  
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#19 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			bzr diff should still work against a reverted checkout
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#20 | 
| 
			
			
			
			 Calibre Plugins Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,735 
				Karma: 2208556 
				Join Date: Oct 2010 
				Location: Australia 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Well the diff file that "bzr diff > xxx.txt" produces is 46600 lines! and is listing an awful lot more than just my changes?  
		
	
		
		
		
		
		
		
		
		
		
		
	
	For instance the file starts with changes to Changelog.yaml with version information for 0.7.27. So I think it might be comparing against the latest on the trunk or something?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#21 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Ah you didn't commit the reversion before making your changes, my fault, I forgot to tell you to do that.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	The simplest way to generate the diff would be bzr commit and then bzr diff -r number where number is the same as the number you used for revert.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#22 | 
| 
			
			
			
			 Calibre Plugins Developer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,735 
				Karma: 2208556 
				Join Date: Oct 2010 
				Location: Australia 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks Kovid. There was one more step I had to do, and that was "bzr add" to ensure the new files got committed. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Generated the patch file and put in a zip along with the image binaries, attached to ticket #7502. Hope it is of use to someone as a starting point at least.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 01:11 PM | 
| Device interface plugin - nook | badmadbug | Plugins | 2 | 09-06-2010 12:03 PM | 
| Manybooks new interface | mtravellerh | Upload Help | 0 | 11-30-2008 09:26 AM | 
| OS X Interface | irulan | Calibre | 5 | 09-13-2008 02:18 PM | 
| iLiad Interface Design | nathany | iRex Developer's Corner | 6 | 09-17-2007 03:05 PM |