Sun Jul 24 01:05:22 UTC 2005 Alberto Bertogli <albertogli@telpin.com.ar>
* Ignore created_as tag in changes' xml output.
{
hunk ./darcsweb.cgi 350
+ # When you ask for changes to a given file, the xml output
+ # begins with the patch that creates it is enclosed in a
+ # "created_as" tag; then, later, it gets shown again in its
+ # usual place. The following two "if"s take care of ignoring
+ # everything inside the "created_as" tag, since we don't care.
+ if name == 'created_as':
+ self.cur_elem = 'created_as'
+ return
+ if self.cur_elem == 'created_as':
+ return
+
+ # now parse the tags normally
hunk ./darcsweb.cgi 437
+ # See the comment in startElement()
+ if name == 'created_as':
+ self.cur_elem = None
+ self.cur_val = ''
+ return
+ if self.cur_elem == 'created_as':
+ return
+
}