Added column to indicate that changes need to be merged
This commit is contained in:
parent
fbb5023132
commit
e977521519
@ -51,6 +51,12 @@ namespace Sync
|
||||
{
|
||||
get { return _ReadOnly; }
|
||||
}
|
||||
private bool _Merge = false;
|
||||
public bool Merge
|
||||
{
|
||||
get { return _Merge; }
|
||||
set { _Merge = value; }
|
||||
}
|
||||
public FileCompare(FileInfo development, FileInfo sourceSafe)
|
||||
{
|
||||
_Developement = development;
|
||||
|
@ -144,8 +144,11 @@ namespace Sync
|
||||
private void AddToResults(FileInfo fiSS,FileInfo fiDev)
|
||||
{
|
||||
FileCompare fc = new FileCompare(fiDev, fiSS);
|
||||
FileInfo fiMB = new FileInfo(fc.FileName.Replace(tbDevelopment.Text, tbSSMailBox.Text));
|
||||
if (fiMB.Exists && fiSS.LastWriteTimeUtc != fiMB.LastWriteTimeUtc)
|
||||
fc.Merge = true;
|
||||
//if(!_OnlyContentDifferent || (fc.Different && (fc.DevModified != null)))
|
||||
if (!_OnlyContentDifferent || (fc.Different))
|
||||
if (!_OnlyContentDifferent || (fc.Different))
|
||||
_CheckedOut.Add(fc);
|
||||
//if (tbResults.Text == "") tbResults.Text = "Found:";
|
||||
//tbResults.Text += "\r\n" + fiDev.FullName + " - " + ((fiDev.Attributes & FileAttributes.ReadOnly) != FileAttributes.ReadOnly ? "" : "ReadOnly");
|
||||
|
Loading…
x
Reference in New Issue
Block a user