Skip to content

fix(#23): more compact message and cut too long part#24

Open
LaoshuBaby wants to merge 1 commit intoZverik:masterfrom
LaoshuBaby:too_long
Open

fix(#23): more compact message and cut too long part#24
LaoshuBaby wants to merge 1 commit intoZverik:masterfrom
LaoshuBaby:too_long

Conversation

@LaoshuBaby
Copy link
Copy Markdown

@LaoshuBaby LaoshuBaby commented Oct 18, 2025

Close #23

@LaoshuBaby
Copy link
Copy Markdown
Author

LaoshuBaby commented Oct 18, 2025

https://www.openstreetmap.org/changeset/173432255

image

looks it work well and more compact comment can let former "impossible" upload become "possible" (I guess a osm mapper who can find this tool should be able to read and understand those "v"/"n"/"w"/"r" means what)

ALso, I guess those part in simple_revert.py also have similar potential problem

tags = {
'created_by': 'simple_revert.py',
'comment': comment or 'Reverting {0}'.format(', '.join(
['{0} by {1}'.format(str(x), ch_users[x]) for x in changesets]))
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

restore_version can't handle too many object revert in one time since generate too long comment message

1 participant