2011/10/19 Benjamin Pollack <span dir="ltr"><<a href="mailto:benjamin@bitquabit.com">benjamin@bitquabit.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
On Oct 19, 2011, at 5:26 PM, Matt Mackall wrote:<br>
<br>
> On Wed, 2011-10-19 at 17:56 +0200, Na'Tosha Bard wrote:<br>
>> 2011/10/19 Carter, Eli <<a href="mailto:Eli.Carter@tektronix.com">Eli.Carter@tektronix.com</a>><br>
>><br>
</div><div class="im">>>> As (I think) it should be implemented:<br>
>>> ~/.largefiles (or ~/.hg-largefiles) should be a cache and only a cache.<br>
>>> $repo/.hg/largefiles should be a store.<br>
>>> I think we really need some way to say 'this repo must maintain a complete<br>
>>> store' so there is a way to assert that 'this repo is always complete'.  As<br>
>>> it stands, I worry about data getting lost in a convoluted<br>
>>> backup-and-restore shuffle.<br>
>>><br>
>><br>
>> I think your proposal here is a good idea.  It is substantially more<br>
>> consistent, and it should fix our issue with cloning largefiles repos<br>
>> between multiple local repos on different machines.  And I also agree that<br>
>> we need a --backfill-largefiles option or --all-largefiles or something for<br>
>> clone, both for backup purposes, and also for the "fork" feature of some<br>
>> software tools.<br>
>><br>
>> Patches to fix both of these things would be welcome (at least by me).<br>
<br>
</div>I agree.  This is also actually how kbfiles originally operated; it appears the logic got reversed or dropped in the move to largefiles.<br></blockquote><div><br>Kbfiles is also very problematic when cloning locally between two machines (and not involving the "centeral" server).  It only really works if you have the same username/password on both machines.  So this is something to make sure works in your fix.<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
I'll submit two patches, if no one else is already working on it: one to add "hg clone --all-largefiles", and one to set things back to having a user *cache* and a canonical in-repository *store*.<br></blockquote>
<div><br>Great -- I strongly doubt I would have time to get to this before Nov 1st.<br><br>Cheers,<br>Na'Tosha <br></div></div><br clear="all"><br>-- <br><div><div><span style="color: rgb(153, 153, 153);"><b>Na'Tosha Bard</b></span></div>
<div><font color="#999999">Build & Infrastructure Developer | Unity Technologies</font></div><div><font color="#999999"><br></font></div><div><font color="#999999"><b>E-Mail:</b> <a href="mailto:natosha@unity3d.com" target="_blank">natosha@unity3d.com</a></font></div>
<div><font color="#999999"><b>Skype:</b> natosha.bard</font></div></div><br>