Re: [p4] P4V 2018.2 - Reconciling files do not appear if opened exclusive for add by s

p4rfong <[email protected]> Tue, 15 May 2018 12:25:01 -0700
Newsgroups gmane.comp.version-control.perforce
Message-ID <[email protected]>
Posted on behalf of forum user 'p4rfong'.

Repro'ed the test case and filed a bug.

Steps to reproduce:

1. Create typemap of exclusive lock

TypeMap:
binary+l //....bin

2. As first user in one client, add

[bruno perl_proj]$ p4 add test.bin
//depot/main/release1/perl_proj/test.bin#1 - opened for add
[bruno perl_proj]$ p4 submit -d "adding test.bin"
Submitting change 42584.
Locking 2 files ...
add //depot/main/release1/perl_proj/test.bin#1
add //depot/main/release1/perl_proj/test.txt#18
Change 42584 submitted.

3. As another user in a different client, run "p4 reconcile"

[joe perl_proj]$ p4 revert //...
//... - file(s) not opened on this client.

[joe perl_proj]$ p4 files //depot/main/release1/perl_proj/test.bin
//depot/main/release1/perl_proj/test.bin#1 - add change 42280 (binary+l)

[joe perl_proj]$ p4 reconcile ...
//depot/main/release1/perl_proj/cherry.txt#1 - opened for add
//depot/main/release1/perl_proj/test.bin#1 - opened for add
//depot/main/release1/perl_proj/test.txt#17 - opened for add
//depot/main/release1/perl_proj/testing.txt#2 - opened for add
[joe perl_proj]$ p4 info | grep version
Server version: P4D/LINUX26X86_64/2018.1/1660568 (2018/05/09)

Note that test.bin is "opened for add", yet from "p4 files",
file already exists.  Expect to see "opened for edit" or
perhaps a warning that two files are being added at same time.

Thanks for letting us know!  Well, at least the submit will fail:

//depot/main/release1/perl_proj/test.bin - add of added file; must revert

I have filed the bug.



--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/5726-p4v-20182-reconciling-files-do-not-appear-if-opened-exclusive-for-add-by-s
_______________________________________________
perforce-user mailing list  -  [email protected]
http://maillist.perforce.com/mailman/listinfo/perforce-user