Artifact 2e8be91f64e9c3ea941ee6f97b396cc84d31bc12
Ticket change
[2e8be91f64]
- Ticket 4e8410bfd6 Add something similar to cvsignore feature status still Open with 2 other changes
by
kkinnell on
2008-12-09 17:03:54.
D 2008-12-09T17:03:54
J +comment \n\n<hr><i>kkinnell\sadded\son\s2008-12-09\s17:03:54:</i><br>\nIf\syou\sare\susing\sa\sshell\sthat\sfollows\sthe\sunix\sconventions,\sdot\sfiles—files\sthat\sstart\swith\sa\s'.'\scharacter—will\sbe\signored\sunless\sthey\sare\sexplicitly\sincluded.\r\n\r\nAs\san\sexample,\sif\syou\shave\sfiles\snamed\s'.file'\sand\s'.faxes',\sand\swant\sto\s<code>add</code>\sthem\susing\s<i>globbing</i>\syou'd\stype:\s<verbatim>\s\s\s\sfossil\sadd\s.f*</verbatim>\sTo\sget\sall\sof\syour\sdot\sfiles\syou'd\sneed\sto\sbe\sa\slittle\strickier,\sbecause\s'.'\sand\s'..'\sare\sdirectory\snames.\s\sIn\s<b>bash</b>\syou'd\suse\s<verbatim>\s\s\s\sfossil\sadd\s.[^.]*</verbatim>\r\n\r\nThe\spoint\sis\sthat\sthe\sdot\sfiles\sare\sbeing\sintercepted\sby\sthe\sshell\son\snon-Windows\ssystems,\sand\smay\sbe\sbeing\sintercepted\son\sWindows\ssystems—dot\sfiles\sare\sa\sbit\sproblematic\sand\syou\shave\sto\sbe\scareful\sabout\sthem.\r\n\r\nIMHO:<br>\r\nThe\s<code>CVSIGNORE</code>\sisn't\sactually\sthat\suseful\sif\syou\sare\snot\screating\sa\snew\srepository\sfrom\sa\sclean\ssource\stree,\sor\snot\susing\sa\srecursive\s<code>add</code>.\s\sUntil\sthe\srecursive\sadd\sfix\s(see\s[./tktview?name=e02ffabcda\s|\se02ffabcda])\sthere\swasn't\sany\sway\sto\sget\s<b>fossil</b>\sto\sadd\sfiles\sthat\swere\snot\sexplicitly\srequested.\s\sYou\scould\sstill\sget\sunwanted\sfiles\sby\sinjudicious\sfile\sglobbing,\sbut\sthat\swasn't\s<b>fossil</b>'s\sfault.\s\sPersonally,\sI\sprobably\swon't\suse\srecursive\sadd\son\san\s'as\sis'\ssource\stree.\s\sI'll\sclean\sit\sup\suntil\sit\sonly\scontains\sthe\sfiles\sI\swant,\sthen\s<code>add</code>\sthem,\sand\smaybe\sthen\scopy\sthe,\ser,\s"unclean"\ssource\stree\sback.
J resolution Open
K 4e8410bfd697c846259595f3f58a587721331ce3
U kkinnell
Z 5fb053c43af891cd928abeb99143233b