Project

General

Profile

« Previous | Next » 

Revision 3788

ch_root, ch_root_via: Documented that these are usually not idempotent operations

View differences:

bin/ch_root
1 1
#!/usr/bin/env python
2
# Transforms a map spreadsheet to use a different root
2
# Transforms a map spreadsheet to use a different root.
3
# Warning: ch_root is usually *not* an idempotent operation.
3 4

  
4 5
import csv
5 6
import os.path
bin/ch_root_via
1 1
#!/bin/sh
2 2
# Transforms a map spreadsheet to use a different root, using a connecting root
3
# that links the input and output roots together
3
# that links the input and output roots together.
4
# Warning: ch_root_via is usually *not* an idempotent operation.
5
# Only the re-rooting step is idempotent.
4 6

  
5 7
selfDir="$(dirname -- "$0")"
6 8

  

Also available in: Unified diff