Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C API "sscm_file_history" doesn't return details for rename operation [old & new file name] #45

Open
palash-holkar opened this issue Jan 18, 2017 · 1 comment

Comments

@palash-holkar
Copy link

Hi,

I am using C APIs to get file history but for rename action we don't have old and new names, so
print("R %s %s" % (record.origPath, record.data))
[ line no 542 : function: process_database_record ]
is failing.

How to get record.origPath and record.data from/in "sscm_file_history" API and struct FileHistoryItem sturcture ?

@JElchison
Copy link
Owner

Sadly, this is another example of a notable deficiency in the Seapine API, also what led me down the path of using the CLI output in the first place. Without an improved API, there is no reliable/portable solution to this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants