Bug with meld using bzr when file attributes change
- From: Louis des Landes <louis obsidian com au>
- To: meld-list <meld-list gnome org>
- Subject: Bug with meld using bzr when file attributes change
- Date: Tue, 28 Aug 2012 15:27:49 +1000
It seems that if you change the attributes on a file, the bzr diff command reports this, but meld has no idea what to do with the line
=== modified file 'local/scripts/setup/setup.py' (properties changed: -x to +x)
Requested info accd to meld is below:
- meld version: '1.6.0'
- source control software type: 'Bazaar-NG'
$ bzr --version
Bazaar (bzr) 2.5.1
Python interpreter: /usr/bin/python2 2.7.3
Python standard library: /usr/lib/python2.7
Platform: Linux-3.4.9-1-ARCH-x86_64-with-glibc2.2.5
bzrlib: /usr/lib/python2.7/site-packages/bzrlib
- the output of 'bzr --no-aliases --no-plugins diff somefile.txt'
=== modified file 'local/scripts/setup/setup.py' (properties changed: -x to +x)
--- local/scripts/setup/setup.py 2012-03-30 07:10:53 +0000
+++ local/scripts/setup/setup.py 2012-08-28 02:38:48 +0000
This is to call the script to import a list of servers
ServerImporter().syncServerList(dstore)
+def addUsageDefns(dstore):
+ Add the netflow inbound and outbound resources to the Total Traffic
+ group_id = dstore.resource.getResourceGroupIdByName('Total Traffic')
+ defnid = dstore.genericUsage.getDefnByName('Netflow-v5')['defnid']
+ resourceid = dstore.resource.getResourceIdByName('Outbound')
+ dstore.resource.addResourceToGroup(group_id, defnid,
+ resourceid = dstore.resource.getResourceIdByName('Inbound')
+ dstore.resource.addResourceToGroup(group_id, defnid,
if __name__ == '__main__':
print 'customize database'
customizeDatabase(dstore)
print 'Import Servers sync'
- patch command: 'patch -p0 -R -d /tmp/tmp_shkCA-meld'
--
Louis
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]