I have two streams, where one is based off of the other. I'm working in the child stream now. Before I deliver, I want to know which files are new and which files are modified versions of files in the base stream.
For example:
Base stream
A.txt
B.txt
Child stream
A.txt
B.txt <- modified
C.txt <- new
My delivery is going to include both my changes to B.txt as well as the new file C.txt. I want to know which files I'm delivering, and whether or not they are new.
I would like to do this command line, as it's part of a script that I'm writing to help me out with delivering streams.
Thinking about this some more, I could do this if we could find out the previous version of a given version and then see if it's empty. Is there a way to do this?