info-cvs
[Top][All Lists]
Advanced

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

Re: Mystery - Missing file when updating. Second update gets it.


From: xmontero
Subject: Re: Mystery - Missing file when updating. Second update gets it.
Date: 10 May 2007 05:15:37 -0700
User-agent: G2/1.0

DONE FROM THE CLI!!!!
Here is the solution (if this helps anybody I'm happy)

Seems that it was removed and when resurrected, it was not properly
resurrected.

Solution: Kill it again and resurrect it again. I've introduced an
intermediate state which enforces the file to be different to ensure
that resurrection firmly writes the repository.

Here follows the session. Two cvs status commands inserted to see the
Attic moving.

--- Session: ---------------------------------

address@hidden:~/cvs/cvs/dsi_visual_crm/src$ cvs update do_edit_task.php
U do_edit_task.php
address@hidden:~/cvs/cvs/dsi_visual_crm/src$ mv do_edit_task.php
do_edit_task.php_safe
address@hidden:~/cvs/cvs/dsi_visual_crm/src$ cvs rm do_edit_task.php
cvs remove: scheduling `do_edit_task.php' for removal
cvs remove: use 'cvs commit' to remove this file permanently
address@hidden:~/cvs/cvs/dsi_visual_crm/src$ cvs commit -m "Dead state
correction" do_edit_task.php
Removing do_edit_task.php;
/cvsroot/sound-station/dsi_visual_crm/src/Attic/do_edit_task.php,v
<--  do_edit_task.php
new revision: delete; previous revision: 1.2
done
address@hidden:~/cvs/cvs/dsi_visual_crm/src$ cvs status do_edit_task.php
===================================================================
File: no file do_edit_task.php          Status: Up-to-date

   Working revision:    No entry for do_edit_task.php
   Repository revision: 1.3     /cvsroot/sound-station/dsi_visual_crm/
src/Attic/do_edit_task.php,v

address@hidden:~/cvs/cvs/dsi_visual_crm/src$ mv do_edit_task.php_safe
do_edit_task.php
address@hidden:~/cvs/cvs/dsi_visual_crm/src$ echo "<? ; ?>" >>
do_edit_task.php
address@hidden:~/cvs/cvs/dsi_visual_crm/src$ cvs add do_edit_task.php
cvs add: Re-adding file `do_edit_task.php' (in place of dead revision
1.3).
cvs add: use 'cvs commit' to add this file permanently
address@hidden:~/cvs/cvs/dsi_visual_crm/src$ cvs commit -m "Dead state
correction" do_edit_task.php
Checking in do_edit_task.php;
/cvsroot/sound-station/dsi_visual_crm/src/do_edit_task.php,v  <--
do_edit_task.php
new revision: 1.4; previous revision: 1.3
done
address@hidden:~/cvs/cvs/dsi_visual_crm/src$ cvs status do_edit_task.php
===================================================================
File: do_edit_task.php  Status: Up-to-date

   Working revision:    1.4
   Repository revision: 1.4     /cvsroot/sound-station/dsi_visual_crm/
src/do_edit_task.php,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

address@hidden:~/cvs/cvs/dsi_visual_crm/src$



reply via email to

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