[p4] P4 reordering my given files based on status (using p4 opened, p4 files)
Frank Compagner
frank.compagner at guerrilla-games.com
Sun Jan 13 14:10:59 PST 2008
Not sure it's related, but I did experience something similar with the
P4V submit dialog. That will reorder the files from the changelist
based on whether a file is checked out by somebody else (if so it
will be sorted to the bottom). I contacted support about this and they
confirmed it was incorrect behaviour and it should be fixed in the
next release. So you might want to run this by support, see what they
say.
----------------------------------------------------------------
Frank Compagner Guerrilla Games
TT> Sooo, I am using the p4 opened command to see the status of given files and
TT> the list of files I gave is reordered when returned based on their status in
TT> perforce.
TT> ie
TT> p4 opened -a C:/root/project/file5.txt C:/root/project/file1.txt
TT> C:/root/project/file3.txt C:/root/project/file8.txt
TT> //depot/project/file6.txt
TT> would return something like
TT> //depot/project/file1.txt edit change
TT> //depot/project/file8.txt edit change
TT> C:/root/project/file5.txt default change
TT> //depot/project/file6.txt default change
TT> C:/root/project/file3.txt not opened
TT> It is ordering it alphabetically based on the state of the file, not based
TT> on the order I gave. The "p4 files" command resorts the list as well. When
TT> just viewing the results maybe that is more helpful, but in a script it
TT> would be annoying to have to rematch up the files after analyzing the
TT> results.
TT> The only thing I dont get is that under the command prompt it actually
TT> returns it in the SAME order, but when using Maya's mel "system" command
TT> (which executes the command from the shell and returns the output as a
TT> string) it is reordered... it doesn't make sense that the results would be
TT> different... especially just reordered.
TT> Any ideas to get the returned order to match? I am hoping there is just
TT> some quick setting i can change....
TT> Thanks
TT> _______________________________________________
TT> perforce-user mailing list - perforce-user at perforce.com
TT> http://maillist.perforce.com/mailman/listinfo/perforce-user
More information about the perforce-user
mailing list