|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
||||
|
||||
|
adding a directory to a cvs module
I use cvs to transport code from (dev) box A to (live)box B.
I have a module called spiraton, with a fairly simple tree that I have been playing with for a couple of moths. I just came to add a directory in there (on the dev box) with a file inside: # mkdir stuff # cd stuff # touch newfile I then commit them: # cd .. # cvs add stuff # cvs commit stuff # cd stuff # cvs add index.php # cvs commit index.php But when I try running an update on box B, nothing happens # cvs update stuff # is this really not allowed? christo
__________________
. Spiration channels: Free scripts, programming tutorials and articles Dotcut alerts: Online Press cuttings / news alerts Clearprop: UK microlight school, wiltshire Uk dating: UK safe dating with Topdates About Christo . . |
|
#2
|
|||
|
|||
|
it *is* allowed to add new directories
![]() maybe your cvs does not update 0-length files? your way works for me without problems. but i doubt this is what you really typed since you call the file "newfile" first, later you try to upload "index.php" - where should it come from? Or is this the "real" problem?
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
||||
|
||||
|
ha - yeah, I just tried to simplify the post by breaking it down.. I have actually been doing this with a full file called index.php with at least 100 lines of code in it.. I have tried lots of things to get this working. If I actually go into the cvs repository, I can see the new directory there, and I can see an index.php,v within it.. but the update still does nothing.
christo |
|
#4
|
||||
|
||||
|
maybe try using cvs update -d to make the directories? I havn't had much experience with cvs yet, only checkin/checkout. I basically only use it as a backup system is all.
|
|
#5
|
|||
|
|||
|
what do you mean "does nothing"? an error message, only the standard messages or no message at all?
From the Cederqvist: Quote:
i think kicken is right... |
|
#6
|
||||
|
||||
|
M.Hirsch,
thanks, that's just the solution i needed. I was overlooking the -d switch on update thanks dude! christo |
|
#7
|
|||
|
|||
|
(forwarded to kicken who bet me by 2 mins...)
|
|
#8
|
||||
|
||||
|
apologies and thanks to kicken - I have a terrible habif of just reading the last post
slap on wrist to christo ! thanks chaps ![]() |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > adding a directory to a cvs module |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|