[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
importing file removements
From: |
Ilya N. Golubev |
Subject: |
importing file removements |
Date: |
Fri, 25 Jun 2004 20:09:33 +0400 |
Version: 1.11.1p1
When files were removed between imports, `cvs import' does not mark
them as such in vendor branch (does not add dead revisions). They
remain in working copies. Merging their removement to other branches
is also impossible. Is it intended? If yes, then at least in some
circumstances removing files on import is desired. How should this be
specified / default behavior worked around?
A sample sequence of bash commands reproducing current behavior is
below.
export CVSROOT=~/share/toy-cr
rm -rf $CVSROOT
mkdir $CVSROOT
mkdir $CVSROOT/CVSROOT
imdir=~/share/toy-import
rm -rf $imdir
mkdir $imdir
cd $imdir
>0
>1
rdir=toy-pkg
cvs -q im -m'release 1 of toy-pkg' $rdir gin toy-pkg-gin-1
work_root=~/share/work_root
rm -rf $work_root
mkdir $work_root
cd $work_root
cvs -q co -rgin $rdir
cd $imdir
rm 0
cvs -q im -m'release 1 of toy-pkg' toy-pkg gin toy-pkg-gin-2
cd $work_root/$rdir
cvs -q up
[ -f 0 ]&&echo file was not removed properly
cd
rm -rf $CVSROOT $imdir $work_root
unset CVSROOT
- importing file removements,
Ilya N. Golubev <=