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]