want a way to mark files as binary even if they look like text (eg pdf files)
Bug #218128 reported by
Pekka Jääskeläinen
This bug affects 12 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Breezy |
Triaged
|
Medium
|
Unassigned |
Bug Description
We have a PDF which gets detected as a text file thus produces quite nasty diffs in the commit emails, etc.
This is probably due to it having couple of lines of text in the beginning of the file.
However, it would be useful in general to be able to flag files as binary in Bazaar.
Changed in bzr: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
summary: |
- some binary files detected as text: provide a way to flag files binary? + want a way to mark files as binary even if they look like text |
Changed in bzr: | |
importance: | Wishlist → Medium |
summary: |
- want a way to mark files as binary even if they look like text + want a way to mark files as binary even if they look like text (eg pdf + files) |
tags: | added: diff |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
tags: | added: file-attributes |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
Does it possible to learn bzr to process pdf files as binary?
D:\...1C7. 7\Bases\ Работа\ Бухгалтерия_ рабочая> bzr diff -r0..1 ClientBank |more ‚РІРѕ польз оват еля. pdf' ‚РІРѕ польз оват еля. pdf ‚РІРѕ польз оват еля. pdf 4fc6e7> ] !n!;-№Amюы& ¦ ¦ † ў њ ш j Љ!¶17°3LЉfфLм` Ї#®ЦIЃGЙ] $QЁ дBЕ‰• ЛT›9Љ\%\ @®76
=== added directory 'ClientBank'
=== added file 'ClientBank/!Р СѓРєРѕРІРѕРґСЃС
--- ClientBank/!Р СѓРєРѕРІРѕРґСЃС
1970-01-01 00:00:00 +0000
+++ ClientBank/!Р СѓРєРѕРІРѕРґСЃС
2009-06-02 10:57:28 +0000
@@ -0,0 +1,3020 @@
%вгПУ-1.2
0000000016 00000 n xref
+0000000811 00000 n
+0000001466 00000 n
+0000001624 00000 n
+0000001802 00000 n
+0000002214 00000 n
+0000002896 00000 n
+0000012793 00000 n
+0000013006 00000 n
+0000013505 00000 n
+0000013720 00000 n
+0000013901 00000 n
+0000033543 00000 n
+0000034338 00000 n
+0000034863 00000 n
+0000047999 00000 n
+0000048205 00000 n
+0000064608 00000 n
+0000065184 00000 n
+0000065538 00000 n
+0000065746 00000 n
+0000000933 00000 n
+0000001444 00000 n
stream446 /Filter /FlateDecode /Length 150 0 R >> 9edcd0ef631130a
+H‰b``` ўҐ l ,N ИА
+ eaаpђf ahb pb ЁћФ |шЯC• Љ3 ˜_m TИ3сэ! dбWШ!Бї§еЅЭтЂfЕЉ $S xЉњ ;ЪX…k_q \й“ б )r PVlh ®№фўRСт#§ЊВ
·-уЄWыд Ћx ‰@ЋinR© Џ–¦ n
ѕуAґ-‹Ѓ§б#Л v €Xџ
?Г Ж Ь к)з h8ЬoXМИl$
+Ђ
D:\Develop\test>bzr --version Python25\ python. exe 2.5.4 Python25\ lib Python25\ lib\site- packages\ bzrlib Vladimir\ Application Data\bazaar\2.0
Bazaar (bzr) 1.15
Python interpreter: C:\Develop\
Python standard library: C:\Develop\
bzrlib: C:\Develop\
Bazaar configuration: C:\Documents and Settings\
Bazaar log file: D:\Docs\.bzr.log
Copyright 2005, 2006, 2007, 2008, 2009 Canonical Ltd. bazaar- vcs.org/
http://
bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.