[p4] The story of the null delta.
Shawn Hladky
p4shawn at gmail.com
Mon Mar 26 11:03:38 PST 2007
Server version 2006.2 gives you a variety of options you can set on your
client that will determine what happens to unchanged files. From the
release notes:
New client option 'SubmitOptions' - #106812 **
The new 'p4 client' field 'SubmitOptions' allows the user to
alter the behavior of submit. The six different values for
this field affects what happens to unchanged files and if
submitted files are reopened. For more details see 'p4 help
client'.
SubmitOptions unchanged submitted
value files files
----------------------------------------------------
submitunchanged submitted
submitunchanged+reopen submitted reopened
revertunchanged reverted
revertunchanged+reopen reverted reopened
leaveunchanged left open
leaveunchanged+reopen left open reopened
In addition 'p4 submit' now sports a '-f option' flag. This
allows the user to override the SubmitOption which is set in
the client.
e.g. p4 submit -f leaveunchanged
On 3/26/07, Peter Prymmer <PPrymmer at factset.com> wrote:
>
> Dave wrote:
>
> > LOL, loved the story, btw.
> >
> > I believe there is an option in the gui that will automatically revert
> > unchanged files... not sure about p4v or the command line... maybe there
> > is an env var?
> >
> > some people do like the option to checkin unchanged files, btw.
> >
> > dave
>
> The command:
>
> p4 revert -a
>
> if run before "p4 submit" does from the command line what is wanted in
> this case.
>
> Peter Prymmer
> _______________________________________________
> perforce-user mailing list - perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
More information about the perforce-user
mailing list