Thanks for filing that Parth. I haven't had a chance to look into it yet, but writing some tests in bt.test_branchbuilder would be where I'd start.
A build_snapshot call with something like:
('add', (u'link', 'symlink-id', 'symlink', u'target'))
Should have the effect of (diff just for clarity):
=== added symlink 'link'
=== target is u'target'
I'm not seeing anything obvious preventing that from working, there may just need to be a few tweaks to some methods, like MemoryTree.path_content_summary which needs to return:
('symlink', None, None, target)
Rather than raising NotImplementedError as currently.
There may be other issues, which is why writing some tests for the basic functionality before trying to use it here is a good idea.
Thanks for filing that Parth. I haven't had a chance to look into it yet, but writing some tests in bt.test_ branchbuilder would be where I'd start.
A build_snapshot call with something like:
('add', (u'link', 'symlink-id', 'symlink', u'target'))
Should have the effect of (diff just for clarity):
=== added symlink 'link'
=== target is u'target'
I'm not seeing anything obvious preventing that from working, there may just need to be a few tweaks to some methods, like MemoryTree. path_content_ summary which needs to return:
('symlink', None, None, target)
Rather than raising NotImplementedError as currently.
There may be other issues, which is why writing some tests for the basic functionality before trying to use it here is a good idea.