[darcs-devel] [issue2447] get contents of deleted file
John MacFarlane
bugs at darcs.net
Fri Apr 3 06:34:11 UTC 2015
New submission from John MacFarlane <jgm at berkeley.edu>:
I'm not sure if this is a bug, but it is causing
an error in the filestore tests.
1. Create a file, foo, with contents "bar".
2. darcs init
3. darcs add foo
4. darcs record
5. darcs log --xml # to get the hash
6. darcs show contents foo --match 'hash 20150403053308-0f649-b1eb60ba7610b6a71c09804439fc9ce61d5cd0fa' # shows "bar"
7. darcs remove foo
8. darsc record
9. darcs show contents foo --match 'hash 20150403053308-0f649-b1eb60ba7610b6a71c09804439fc9ce61d5cd0fa' # shows nothing (empty)
I would have thought that (6) and (9) would produce the same output.
Is there any way to get the contents of an earlier version of a file
that has been removed from the repository?
John
----------
messages: 18340
nosy: jgm
status: unknown
title: get contents of deleted file
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2447>
__________________________________
More information about the darcs-devel
mailing list