Open pnorman opened 10 years ago
Note: it seems to of redacted correctly.
Hmmm... I can't make those line numbers match up with anything. What commit is your working directory on?
f2bf2a148eadd754eb20487965cc3edea77b9f7e:
commit f2bf2a148eadd754eb20487965cc3edea77b9f7e
Merge: a01e11e 1d5b41b
Author: Paul Norman <penorman@mac.com>
Date: Wed Aug 29 21:59:52 2012 -0700
Merge branch 'wip-412-fix' of https://github.com/zerebubuth/openstreetmap-license-change
With these changes
diff --git a/redact_changeset.rb b/redact_changeset.rb
old mode 100644
new mode 100755
index 988bced..6009e15
--- a/redact_changeset.rb
+++ b/redact_changeset.rb
@@ -13,7 +13,7 @@ require 'yaml'
require 'optparse'
require 'typhoeus'
-MAX_CHANGESET_ELEMENTS = 1000
+MAX_CHANGESET_ELEMENTS = 500
class Server
def initialize(file, dry_run)
I think I fixed it in 6006392c so please let me know if something like it happens again. I think that the root cause of it being on that code path was that the element it was looking for had concurrently been deleted, which is something that needs to be handled properly, I guess.
Overnight when redacting a decently largechangeset