I have updated the bzr-undelete plugin with --find option which
looks through last N commits for file names matching the
specified regex.
Its doesn't specifically look for deleted files but may be useful in
this scenario. The use case I had in mind was that if we don't
remember the name of the deleted file, we find it with the regex
and then issue the undelete command if needed.
I have updated the bzr-undelete plugin with --find option which
looks through last N commits for file names matching the
specified regex.
Its doesn't specifically look for deleted files but may be useful in
this scenario. The use case I had in mind was that if we don't
remember the name of the deleted file, we find it with the regex
and then issue the undelete command if needed.
https:/ /launchpad. net/bzr- undelete
Here is a test run:
[test]% bzr st a.txt
nonexistent:
a.txt
bzr: ERROR: Path(s) do not exist: a.txt
[test]% bzr undelete --find "a.*t"
revno: 15
batman
parth
revno: 14
parth
revno: 13
parth
revno: 12
parth
revno: 11
parth
revno: 1
a.txt
[test]% bzr undelete a.txt
[test]% bzr st a.txt
added:
a.txt
[test]% bzr revert
-D a.txt