Vladimir Kotal <Vladimir.Kotal at Sun.COM> writes:

> Hi all,
>
> It looks like wx2hg converts files deleted in Teamware workspace as 
> added files in Mercurial workspace (added to 'deleted_files' directory).
>
> e.g. part of the following 'hg list' snippet:
>
> ---
> added:
>          deleted_files/usr/src/cmd/ssh/include/strsep.h (renamed from 
> usr/src/cmd/ssh/include/strsep.h)
>          deleted_files/usr/src/cmd/ssh/libopenbsd-compat/common/strsep.c 
> (renamed from usr/src/cmd/ssh/libopenbsd-compat/common/strsep.c)
>          usr/src/lib/libc/port/gen/strsep.c (renamed from 
> usr/src/lib/passwdutil/bsd-strsep.c)
> ---
>

It's probably preserving the rename (which is what 'workspace filerm'
and 'wx rm' effectively do), rather than special casing deleted_files
into an 'hg rm'.

You should not re-create deleted_files in a mercurial gate.

As a workaround, you could 'hg rm' deleted_files in $CODEMGR_WS and
usr/closed (as appropriate), after you have converted your workspace,
a recommit following that should do the right thing.

-- Rich

Reply via email to