Two VCP::Source::p4 problems

Chia-liang Kao <[email protected]> Wed, 13 Oct 2004 02:55:54 +0800
Newsgroups gmane.comp.version-control.revml
Message-ID <[email protected]>
--/9DWx/yDrRhgMJTb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

It turns out rev->action is free-form, and can be 'integrate' when
coming from p4 source.  However source::p4::get_source_file only
allows fetching 'add' or 'edit' revs.

Also source::p4::get_source_file will be very unhappy about deleted
files, as perforce considers the deleted files the same as
non-existing files on client, so there will be an unexpected message.
The function is also unhappy about file not present after running p4
sync -f.  But when would source::p4::get_source_file get such file?
When there's a base_revified 'delete' revs.  The other Dest drivers
don't seem to handle such case either.

Cheers,
CLK

--/9DWx/yDrRhgMJTb
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBbCi6k1XldlEkA5YRAhiyAJ9fBeRi7x2BwGdCuWMY+kpSVw7IVgCffEw0
euaMVUZAKk7Zyzxcd1xx+so=
=OOEx
-----END PGP SIGNATURE-----

--/9DWx/yDrRhgMJTb--