gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] Trying out the new escaping version...


From: Pierce T . Wetter III
Subject: [Gnu-arch-users] Trying out the new escaping version...
Date: Wed, 17 Mar 2004 08:17:46 -0700


Chiming in on the discussion about what to do about escaped file names with some naive examples of my trying to start an archive with a bunch of files from a customers website with some weird naming, spaces, etc.

tla init-tree --nested website--dev--1.0

tla add *

tla tree-lint
These files would be source but lack inventory ids (`tla add' or a tagline perhaps?):

_private/watermtproof3.jpg
_vti_cnf/0307c_b1.gif
_vti_cnf/0307c_l1.gif
_vti_cnf/0307c_l2.gif
_vti_cnf/0602c_i1.gif
.
.lots of files omitted
.
dfrontpagehums/hum\(sp)salat\(sp)contest.html
dfrontpagehums/hum\(sp)salat\(sp)order.html
dfrontpagehums/hum\(sp)salat\(sp)pc\(sp)hardware.html

Ok, so I figure I'll just feed the output of tree-lint to add.

[tibook:~/Documents/h2omt/tlawebsite] pierce% tla add `tla tree-lint -t`
[tibook:~/Documents/h2omt/tlawebsite] pierce% tla tree-lint
These files would be source but lack inventory ids (`tla add' or a tagline perhaps?):

_vti_cnf/horizontal\(sp)line2.gif
_vti_cnf/sticky\(sp)rat\(sp)issue\(sp)button.gif
_vti_pvt/_vti_cnf/_x_todo.htm
_vti_pvt/_vti_cnf/_x_todoh.htm
dfrontpagehums/_vti_cnf/hum\(sp)salat\(sp)contest.html
dfrontpagehums/_vti_cnf/hum\(sp)salat\(sp)order.html
dfrontpagehums/_vti_cnf/hum\(sp)salat\(sp)pc\(sp)hardware.html
dfrontpagehums/_vti_cnf/hum\(sp)salat\(sp)pc\(sp)software.html

These explicit ids have no corresponding file:

_vti_cnf/.arch-ids/horizontal\\(sp)line2.gif.id
_vti_cnf/.arch-ids/sticky\\(sp)rat\\(sp)issue\\(sp)button.gif.id
dfrontpagehums/.arch-ids/hum\\(sp)salat\\(sp)contest.html.id
dfrontpagehums/.arch-ids/hum\\(sp)salat\\(sp)order.html.id
dfrontpagehums/.arch-ids/hum\\(sp)salat\\(sp)pc\\(sp)hardware.html.id
dfrontpagehums/.arch-ids/hum\\(sp)salat\\(sp)pc\\(sp)software.html.id

Hmmm.... Looks liked it tried to add the files after escaping the escape? Well, lets see if I can use tree lint to remove them:

[tibook:~/Documents/h2omt/tlawebsite] pierce% tla tree-lint -m
_vti_cnf/.arch-ids/horizontal\\(sp)line2.gif.id
_vti_cnf/.arch-ids/sticky\\(sp)rat\\(sp)issue\\(sp)button.gif.id
dfrontpagehums/.arch-ids/hum\\(sp)salat\\(sp)contest.html.id
dfrontpagehums/.arch-ids/hum\\(sp)salat\\(sp)order.html.id
dfrontpagehums/.arch-ids/hum\\(sp)salat\\(sp)pc\\(sp)hardware.html.id
dfrontpagehums/.arch-ids/hum\\(sp)salat\\(sp)pc\\(sp)software.html.id
importedweb/.arch-ids/horizontal\\(sp)line2.gif.id
importedweb/.arch-ids/sticky\\(sp)rat\\(sp)issue\\(sp)button.gif.id

Maybe I need unescaped?

[tibook:~/Documents/h2omt/tlawebsite] pierce% tla tree-lint -m --unescaped
_vti_cnf/.arch-ids/horizontal\\(sp)line2.gif.id
_vti_cnf/.arch-ids/sticky\\(sp)rat\\(sp)issue\\(sp)button.gif.id
dfrontpagehums/.arch-ids/hum\\(sp)salat\\(sp)contest.html.id
dfrontpagehums/.arch-ids/hum\\(sp)salat\\(sp)order.html.id
dfrontpagehums/.arch-ids/hum\\(sp)salat\\(sp)pc\\(sp)hardware.html.id
dfrontpagehums/.arch-ids/hum\\(sp)salat\\(sp)pc\\(sp)software.html.id
importedweb/.arch-ids/horizontal\\(sp)line2.gif.id
importedweb/.arch-ids/sticky\\(sp)rat\\(sp)issue\\(sp)button.gif.id

No, that looks the same.

Does that help? I'm guessing my first mistake was I should have used:

tla add `tla tree-lint -t --unescaped`

Pierce





reply via email to

[Prev in Thread] Current Thread [Next in Thread]