Beispiel #1
0
        internal virtual void Enlist(HgChangelog hgChangelog, HgTransaction hgTransaction)
        {
            log.Debug("enlisting changelog");

            hgTransaction.AddJournalEntry("00changelog.i", hgChangelog.Revlog.IndexPath);

            if(!hgChangelog.Revlog.InlineData)
                hgTransaction.AddJournalEntry("00changelog.d", hgChangelog.Revlog.DataPath);
        }
Beispiel #2
0
        internal virtual void Enlist(HgManifest hgManifest, HgTransaction hgTransaction)
        {
            log.Debug("enlisting manifest");

            hgTransaction.AddJournalEntry("00manifest.i", hgManifest.Revlog.IndexPath);

            if(!hgManifest.Revlog.InlineData)
                hgTransaction.AddJournalEntry("00manifest.d", hgManifest.Revlog.DataPath);
        }
Beispiel #3
0
        internal virtual void Enlist(HgFilelog hgFilelog, HgTransaction hgTransaction)
        {
            log.Debug("enlisting filelog '{0}'", hgFilelog.Path.FullPath);

            hgTransaction.AddJournalEntry("data/" + hgFilelog.Path.FullPath.TrimStart('/') + ".i", hgFilelog.Revlog.IndexPath);

            if(!hgFilelog.Revlog.InlineData)
                hgTransaction.AddJournalEntry("data/" + hgFilelog.Path.FullPath.TrimStart('/') + ".d", hgFilelog.Revlog.DataPath);
        }