From ccb7d738d37fb21245a563cd41727f2609f0bc07 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 25 May 2015 09:12:44 +0000 Subject: Use ingen:/ as base URI on the wire. This allows referring to non-graph items, which are converted to bundle-relative URIs on save, resolving issue #1049. Change root graph URI to ingen:/graph. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5687 a436a847-0d15-0410-975c-d299462d15a1 --- scripts/ingen.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'scripts/ingen.py') diff --git a/scripts/ingen.py b/scripts/ingen.py index 12f52e92..de1c8ec2 100644 --- a/scripts/ingen.py +++ b/scripts/ingen.py @@ -220,14 +220,14 @@ class Remote(Interface): return self.send(''' [] a patch:Get ; - patch:subject . + patch:subject . ''' % path) def put(self, path, body): return self.send(''' [] a patch:Put ; - patch:subject ; + patch:subject ; patch:body [ %s ] . @@ -237,7 +237,7 @@ class Remote(Interface): return self.send(''' [] a patch:Set ; - patch:subject ; + patch:subject ; patch:body [ %s ] . @@ -247,11 +247,11 @@ class Remote(Interface): return self.send(''' [] a patch:Put ; - patch:subject ; + patch:subject ; patch:body [ a ingen:Arc ; - ingen:tail ; - ingen:head ; + ingen:tail ; + ingen:head ; ] . ''' % (os.path.commonprefix([tail, head]), tail, head)) @@ -261,8 +261,8 @@ class Remote(Interface): a patch:Delete ; patch:body [ a ingen:Arc ; - ingen:tail ; - ingen:head ; + ingen:tail ; + ingen:head ; ] . ''' % (tail, head)) @@ -270,5 +270,5 @@ class Remote(Interface): return self.send(''' [] a patch:Delete ; - patch:subject . + patch:subject . ''' % path) -- cgit v1.2.1