D 2010-10-14T18:36:16
J +comment \n\n
wolfgang\sadded\son\s2010-10-14\s18:36:16:
\nThe\snew\simport\sprogram\sworks\slike\s"mercurial\saddremove",\sso\si\sthink,\si\sshould\srename\sthe\scommand.\r\n\r\nI've\sstarted\sa\ssmall\stest\srepository\son\schiselapp.com:\r\n\s\s*\s\s[http://chiselapp.com/user/wst/repository/import-vendor-test]\r\n\r\nimport/addremove\sand\smerging\swith\scherrypick\sseems\sto\swork\sfine\sfor\sme.\r\n\r\nBut\si\scan\ssee\ssome\sproblems/weak\spoints:\r\n\s\s*\s\simporting\sa\snew\sdelivery\sneeds\sto\sremove\sunused\sfile\sfrom\sthe\ssource\stree.\r\n\s\s\s\s\sFor\sbig\sprojects,\sthis\smight\sonly\sbe\sdone\sby\sdeleting\sthe\scomplete\stree\r\n\s\s*\s\sif\sthe\sdevelopment\sbranch\sis\smessed\sup\swith\stemporary\sfiles,\swhich\sare\r\n\s\s\s\s\snot\sunder\sversion\scontrol,\sit's\sdifficult\sto\sremove\sthem\r\n\r\nThis\scould\sonly\sbe\sdone,\susing\sa\simport\sdirectory\soutside\sof\sthe\scheckout.\r\n\r\nMerging\sis\sOK\sfor\sme.\r\n\r\nConclusion:\r\n\s\s*\s\sI'll\srename\simport\sto\saddremove\r\n\s\s*\s\sI'll\sanalyse\sthe\scode,\show\sto\sdo\sa\sadd/remove\sfrom\soutside\sa\srepository.\r\n\s\s\s\s\sBut\sthis\swill\sbe\sdifficult,\sbecause\si\scannot\suse\sexisting\scode.\sBut\si\r\n\s\s\s\s\sthink,\sit\swill\sbe\seasier\sto\sadd\san\soption\s--keep\sto\supdate(like\sfor\sopen).\r\n\s\s\s\s\sSo\swe\scould
\r\n\s\s\s\s\s1.\screate\sa\snew\sdirectory\sfor\sthe\sdelivery
\r\n\s\s\s\s\s2.\sgo\sto\sthis\sdirectory\sand\sopen\sa\sfossil\sconnection\swith\s--keep
\r\n\s\s\s\s\s3.\supdate\sthis\scheckout\sto\sVENDOR\swithout\saffecting\sthe\sfile\susing\r\n\s\s\s\s\s\s\s\s--keep
\r\n\s\s\s\s\s4.\scommit\sand\stag\sthe\snew\scheckin\swith\sVENDOR_n+1
K e0352240adeafd4d4d8d297c2141dacf076507b7
U wolfgang
Z d046e130ea88fbdcf1b2fcd4ca20db5d