Skip to content

Commit cc3699d

Browse files
committed
Update instructions for handling new folders.
1 parent 273b302 commit cc3699d

1 file changed

Lines changed: 23 additions & 3 deletions

File tree

.htaccess

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,34 @@ RewriteRule ^css4-text/(.*)$ http://dev.w3.org/csswg/css-text-4/$1 [R=301,L]
8080
# and the numbered urls as tagged branches.
8181
# Except for exceptional circumstances,
8282
# always work in unversioned folders.
83-
# `hg copy` the folder into a versioned name when you publish CR,
83+
#
84+
# Every unversioned folder needs a corresponding line here,
85+
# redirecting the appropriate versioned url to the unversioned folder.
86+
#
87+
# When you hit CR with one level and wish to start editting a new level,
88+
# `hg copy` the current unversioned folder into a versioned one,
8489
# and update the rule below to n+1,
8590
# so you can start work on the next level in an unversioned folder.
91+
# That is, if you're current editting Foo level 3 in a css-foo folder,
92+
# and it's hit CR and you'd like to start working on Foo level 4,
93+
# run `hg copy css-foo css-foo-3`,
94+
# then update the line below from css-foo-3 to css-foo-4.
95+
# Start working on level 4 in the undisturbed unversioned folder.
8696
#
87-
# No need to add a url here *until* you hit CR and start a new level.
8897
# If you start a new level before CR,
89-
# `hg copy` into an n+1 versioned folder,
98+
# `hg copy` the unversioned folder into an n+1 versioned folder,
9099
# then unversion it with `hg rename` when level n hits CR.
100+
# That is, if you start work on Foo level 4 before Foo level 3 is done,
101+
# run `hg copy css-foo css-foo-4` and work on it there.
102+
# Then, when you're ready for level 4 to be the new baseline dev version
103+
# (when level 3 is done, in CR, and not receiving major editor attention),
104+
# run `hg mv css-foo css-foo-3` and `hg mv css-foo-4 css-foo`
105+
# so that the mainline version is back in an unversioned folder,
106+
# and update the rule below accordingly.
107+
#
108+
# If you start an entirely new spec,
109+
# just make an unversioned folder
110+
# and add a rule below redirecting an appropriately versioned url to your folder.
91111

92112
RewriteRule ^css-align-3/(.*)$ css-align/$1
93113
RewriteRule ^css-animations-1/(.*)$ css-animations/$1

0 commit comments

Comments
 (0)