<html><body bgcolor="#FFFFFF"><div>There is no version 0 as such. If p4 sync 'gets' version 0, it removes the file from your sandbox. Is that what you are seeing?<br><br>On Mar 4, 2009, at 6:36 AM, Matt Campbell &lt;<a href="mailto:mkambol@gmail.com">mkambol@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>Hmmm. &nbsp;I see many files in my directories that are marked as having version 0. &nbsp;For example, I see MemberIterCalc.java in my sandbox, even though it was added much after the changelist I synched to. &nbsp;Any ideas how this could happen?<br>
<br><div class="gmail_quote">On Wed, Mar 4, 2009 at 9:13 AM, John V. Sichi <span dir="ltr">&lt;<a href="mailto:jsichi@gmail.com"><a href="mailto:jsichi@gmail.com">jsichi@gmail.com</a></a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Matt Campbell wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've been trying to isolate when this issue was introduced, but am struggling a bit with perforce. &nbsp;I'm trying to sync to a changelist using something like:<br>
<br>
p4 sync //open/mondrian/...@10480<br>
<br>
This brings in the set of files from that changelist, but does not appear to delete files from future changelists. &nbsp;<br>
What is the correct way to sync to a changelist?<br>
</blockquote>
<br></div>
That is the correct command. &nbsp;It will delete files from future changelists, but it will not delete empty directories unless you have the rmdir option set in your client (the default is normdir).<br>
<br>
(Also, use p4 opened to make sure you don't have any files checked out before starting.)<br>
<br>
JVS<br>
<br>
_______________________________________________<br>
Mondrian mailing list<br>
<a href="mailto:Mondrian@pentaho.org" target="_blank"><a href="mailto:Mondrian@pentaho.org">Mondrian@pentaho.org</a></a><br>
<a href="http://lists.pentaho.org/mailman/listinfo/mondrian" target="_blank"><a href="http://lists.pentaho.org/mailman/listinfo/mondrian">http://lists.pentaho.org/mailman/listinfo/mondrian</a></a><br>
</blockquote></div><br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Mondrian mailing list</span><br><span><a href="mailto:Mondrian@pentaho.org">Mondrian@pentaho.org</a></span><br><span><a href="http://lists.pentaho.org/mailman/listinfo/mondrian">http://lists.pentaho.org/mailman/listinfo/mondrian</a></span><br></div></blockquote></body></html>