comparison tests/fixtures/addspecial.sh @ 904:b6b1365e3489

canonicalize svn paths even more awesomely It turns out that SVN has bizarre path canonicalization rules that are sort of close to what urllib.quote does, but different in peculiar ways, and 1.7 suddenly cares deeply about canonicality. For instance, space (' ') maps to %20, but '~' stays unchanged instead of turning into %7e. Along with its new policy of frequent beatings administered to users of its bindings, SVN 1.7 introduces a function that idempotently canonicalizes URIs, which I found sort of by accident, because that's how you learn about SVN API changes. Older versions of SVN are less anal, so urllib.quote continues to work fine for them.
author Bryan O'Sullivan <bryano@fb.com>
date Mon, 14 May 2012 01:13:07 +0200
parents bd12a4da0f35
children
comparison
equal deleted inserted replaced
903:fd9397c863d4 904:b6b1365e3489
20 svn ci -m'branch foo' 20 svn ci -m'branch foo'
21 cd branches/foo 21 cd branches/foo
22 ln -s a fnord 22 ln -s a fnord
23 svn add fnord 23 svn add fnord
24 svn ci -msymlink fnord 24 svn ci -msymlink fnord
25 mkdir 'spacy name'
26 echo a > 'spacy name/spacy file'
27 svn add 'spacy name'
28 svn ci -mspacy 'spacy name'
29 svn up
30 echo b > 'spacy name/surprise ~'
31 svn add 'spacy name/surprise ~'
32 svn ci -mtilde 'spacy name'
25 svn up ../.. 33 svn up ../..
26 echo foo > exe 34 echo foo > exe
27 chmod +x exe 35 chmod +x exe
28 svn add exe 36 svn add exe
29 svn ci -mexecutable exe 37 svn ci -mexecutable exe