print(red("***"))
err("Unable to identify level we're commiting from for %s" % '/'.join(reposplit))
-# Make startdir relative to the cannonical repodir, so that we can pass
-# it to digestgen and it won't have to be cannonicalized again.
+# Make startdir relative to the canonical repodir, so that we can pass
+# it to digestgen and it won't have to be canonicalized again.
if repolevel == 1:
startdir = repodir
else:
with open(os.path.join(portdir, cp, "metadata.xml"), 'w') as f:
f.write(playground.metadata_xml_template % xml_data)
# Use a symlink to portdir, in order to trigger bugs
- # involving cannonical vs. non-canonical paths.
+ # involving canonical vs. non-canonical paths.
portdir_symlink = os.path.join(eroot, "portdir_symlink")
os.symlink(portdir, portdir_symlink)
# repoman checks metadata.dtd for recent CTIME, so copy the file in