diff options
author | typebrook <typebrook@gmail.com> | 2019-11-13 18:33:23 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-11-13 18:33:23 +0800 |
commit | c8ade8628c52d60b8b091a463c3b3df907203a40 (patch) | |
tree | 9f0a6d6407f928453cf29f4ea91d638f3fb9eeba | |
parent | 16c052c50af62821068ce7c0248062fdcc196a9d (diff) |
update
-rw-r--r-- | utils/osm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -171,9 +171,9 @@ osm.update() { | |||
171 | } | 171 | } |
172 | # $1 as .osm file $2 as list of change content | 172 | # $1 as .osm file $2 as list of change content |
173 | # use Diff upload: POST /api/0.6/changeset/#id/upload maybe? | 173 | # use Diff upload: POST /api/0.6/changeset/#id/upload maybe? |
174 | osm.osm.update() { | 174 | osm.osc.create() { |
175 | echo "<modify>" | 175 | echo "<modify>" |
176 | awk '{print "<" $1 " id=\"" $2 "\""}' $1 | 176 | awk '{print "<" $1 " id=\"" $2 "\" version=\"NONE\""}' $1 |
177 | echo "</modify>" | 177 | echo "</modify>" |
178 | } | 178 | } |
179 | # create a new changeset | 179 | # create a new changeset |