On Wed, Jul 04, 2012 at 07:01:34PM +0200, Stephan Beal wrote:
> On Wed, Jul 4, 2012 at 8:49 AM, Lluís Batlle i Rossell 
> <[email protected]>wrote:
> 
> > in a save operation. Can you reproduce it?
> >
> 
> On Wed, Jul 4, 2012 at 8:49 AM, Lluís Batlle i Rossell <[email protected]>
> wrote:
> in a save operation. Can you reproduce it?
> 
> Okay, to make sure i've got this right:
> 
> f mv file1.old file1.new
> f stash save
> add/edit other files?
> f stash pop
> 
> and the changes from the 3rd step are reverted?

Here, the first 'fossil stash' makes like a 'fossil checkout', listing a REVERT
for every file in the repository, same as you get a revert for 'issue' in your
small repository, maybe. But I have 4k files.

Then after stash save (full, not only for foo), try a commit. It reports no 
rename,
but commits a rename, iirc.

I don't consider it working, as you do. :)

Thank you for your time, btw.

> Here's what i've tried:
> 
> stephan@tiny:~/cvs/fossil/test$ fst
> repository:   /home/stephan/cvs/fossil/test/../test.fsl
> ...
> EDITED     hosts
> RENAMED    resolv
> 
> (resolv.conf was rename to resolv)
> 
> stephan@tiny:~/cvs/fossil/test$ f stash save
> REVERTED: hosts
> REVERTED: issue
> REVERTED: resolv.conf
> 
> Then i started over, did "mv resolv.conf foo", made a separate edit, and
> got myself into this state:
> 
> stephan@tiny:~/cvs/fossil/test$ fst
> ...
> EDITED     foo
> EDITED     hosts
> 
> (foo was actually moved _and_ edited)
> 
> stephan@tiny:~/cvs/fossil/test$ f stash save foo
> REVERTED: resolv.conf
> 
> resolv.conf was foo before a mv operation, so that "should arguably" say
> "reverted foo" instead of "reverted resolv.conf", but that's splitting
> hairs.
> 
> stephan@tiny:~/cvs/fossil/test$ fst
> ...
> EDITED     foo
> EDITED     hosts
> 
> that's actually what i would expect, but:
> 
> a) i might have missed an obvious logic error.
> b) like i said, i suspect you had another step or two which i didn't.
> c) ACTUALLY... i wouldn't have expected stash/unstash of a rename to work,
> and am pleasantly surprised to see that it does ;).
> 
> 
> Can you send me the steps to reproduce? i've got another 2.5 hours or so of
> hacking time left tonight.
> 
> :-?
> 
> -- 
> ----- stephan beal
> http://wanderinghorse.net/home/stephan/
> http://gplus.to/sgbeal

> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to