Bug#348673: cg-restore: fails to restore deleted file

2006-01-18 Thread Florian Weimer
Package: cogito
Version: 0.16.3-1

cg-restore refuses to restore a deleted file:

$ cg-status | grep ^D
D scripts/package/builddeb
$ cg-restore scripts/package/builddeb
git-checkout-cache: scripts/package/builddeb is not in the cache.
$

I'm not sure if I'm doing something wrong, but the error message is
certainly not very helpful.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#348673: cg-restore: fails to restore deleted file

2006-01-18 Thread Gerrit Pape
Hmm, looks like it works fine for me.

 Running cg-clean on a copy of the Linux 2.6 repository results in an
 error message:
 
 [...]
 Not removing .tmp_versions/
 cg-status: no arguments allowed

 $ cg-clone
 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/
 defaulting to local storage area
 Fetching pack (head and objects)...
 warning: no common commits
 Unpacking 173895 objects
  100% (173895/173895) done
 Fetching tags...
 Missing tag v2.6.12-rc2... 
 [...]
 Cloned to linux-2.6/ (origin 
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git available 
as branch origin)
 $ cd linux-2.6/
 $ cg-rm scripts/package/builddeb
 Removing file scripts/package/builddeb
 $ cg-clean
 Removing scripts/package/builddeb
 $ 
 
On Wed, Jan 18, 2006 at 11:44:25AM +0100, Florian Weimer wrote:
 cg-restore refuses to restore a deleted file:
 
 $ cg-status | grep ^D
 D scripts/package/builddeb
 $ cg-restore scripts/package/builddeb
 git-checkout-cache: scripts/package/builddeb is not in the cache.
 $

 $ cg-status |grep ^D
 D scripts/package/builddeb
 $ cg-restore scripts/package/builddeb
 Restoring file scripts/package/builddeb
 $ 

Regards, Gerrit.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#348673: cg-restore: fails to restore deleted file

2006-01-18 Thread Florian Weimer
* Gerrit Pape:

 Hmm, looks like it works fine for me.

Any idea how I could provide more information for debugging?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#348673: cg-restore: fails to restore deleted file

2006-01-18 Thread Gerrit Pape
On Wed, Jan 18, 2006 at 05:06:45PM +0100, Florian Weimer wrote:
 * Gerrit Pape:
 
  Hmm, looks like it works fine for me.
 
 Any idea how I could provide more information for debugging?

If you do the same I did, does it still fail?  What version of git-core
is installed on your system?  Are cg-* or git-* programs in
/usr/local/bin/?, what does `which cg-clean` say?  The cg-* prgrams are
shell-scripts, you could try running them with sh -x.

HTH, Gerrit.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]