Bug#394838: /usr/bin/cg-mv: fails to work as advertised

2006-10-31 Thread Gerrit Pape
retitle 394838 cogito: must depend on git-core ( 1:1.4.2-0)
quit

On Mon, Oct 23, 2006 at 09:52:12AM +1000, Anand Kumria wrote:
 Package: cogito
 Version: 0.18-1

 I'm trying to move a set of files from one location to another. In one
 branch the files exist as css/{filename} and in the other as
 website/css/{filename}.
 
 In the first branch, the direct website/css exists on disk but does NOT
 exist in the git index. However there isn't any indication / warning
 that that isn't possible using cg-mv (it should be allowed IMO).

 Versions of packages cogito depends on:
 ii  git-core 1:1.4.1.1-1 content addressable filesystem

Hi Anand, this is my fault.

cogito since version 0.18 depends on git-core at least version 1.4.2.
You have 1.4.1.1 installed, since this was the current version in
etch.  git-core version 1.4.3.2 should be available at latest by
tomorrow, and if you upgrade to that version, cg-mv should work as
expected.

Thanks, Gerrit.


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



Bug#394838: /usr/bin/cg-mv: fails to work as advertised

2006-10-23 Thread Anand Kumria
Package: cogito
Version: 0.18-1
Severity: normal
File: /usr/bin/cg-mv

Hi,

I'm trying to move a set of files from one location to another. In one
branch the files exist as css/{filename} and in the other as
website/css/{filename}.

In the first branch, the direct website/css exists on disk but does NOT
exist in the git index. However there isn't any indication / warning
that that isn't possible using cg-mv (it should be allowed IMO).

Below is the full trace.

Thanks,
Anand

eve:[~/example/Anand/example.com]% find css
css
css/layout.css
css/navigation.css
css/signup.css
eve:[~/example/Anand/example.com]% find website/css
website/css
website/css/layout.css
website/css/navigation.css
website/css/signup.css
website/css/css
website/css/css/navigation.css
website/css/css/signup.css
eve:[~/example/Anand/example.com]% cg-mv -h
Usage: cg-mv [-f] FILE... DEST
Rename or move files in the repository

Options:
  -f   Force overwriting of existing files
  -h, --help   Print usage summary
  --long-help  Print user manual
eve:[~/example/Anand/example.com]% cg-mv css/layout.css
website/css/layout.css
Error: destination 'website/css/layout.css' already exists
eve:[~/example/Anand/example.com]% cg-mv -f css/layout.css
website/css/layout.css
Warning: destination 'website/css/layout.css' already exists; will
overwrite!
error: website/css/layout.css: cannot add to the index - missing --add
option?
fatal: Unable to process file website/css/layout.css


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages cogito depends on:
ii  git-core 1:1.4.1.1-1 content addressable filesystem

Versions of packages cogito recommends:
ii  gawk  1:3.1.5.dfsg-4 GNU awk, a pattern scanning and pr

-- no debconf information


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