projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
79914e0
)
Use new name _rewrite_zeerex_record() for old _really_rewrite_record()
author
Mike Taylor
<mike@miketaylor.org.uk>
Mon, 12 Apr 2010 13:44:13 +0000
(14:44 +0100)
committer
Mike Taylor
<mike@miketaylor.org.uk>
Mon, 12 Apr 2010 13:44:13 +0000
(14:44 +0100)
bin/test-xml-update.pl
patch
|
blob
|
history
diff --git
a/bin/test-xml-update.pl
b/bin/test-xml-update.pl
index
8cc551c
..
ad7f086
100755
(executable)
--- a/
bin/test-xml-update.pl
+++ b/
bin/test-xml-update.pl
@@
-10,7
+10,7
@@
use warnings;
use Getopt::Std;
use ZOOM;
use ZOOM::IRSpy::Utils qw(irspy_xpath_context modify_xml_document);
use Getopt::Std;
use ZOOM;
use ZOOM::IRSpy::Utils qw(irspy_xpath_context modify_xml_document);
-use ZOOM::IRSpy; # For _really_rewrite_record()
+use ZOOM::IRSpy; # For _rewrite_zeerex_record()
# This array copied from ../web/htdocs/details/edit.mc
my @fields =
# This array copied from ../web/htdocs/details/edit.mc
my @fields =
@@
-80,7
+80,7
@@
print("Document modified with $nchanges change", $nchanges == 1 ? "" : "s",
": ", join(", ", map { $_->[2] } @changedFields), "\n");
if ($opts{w}) {
": ", join(", ", map { $_->[2] } @changedFields), "\n");
if ($opts{w}) {
- ZOOM::IRSpy::_really_rewrite_record($conn, $xc->getContextNode(), $id);
+ ZOOM::IRSpy::_rewrite_zeerex_record($conn, $xc->getContextNode(), $id);
print "Rewrote record '$id'\n";
}
print "Rewrote record '$id'\n";
}