В svn я могу вернуться изменение и на потом отложить его?

Кажется, проще всего проверить значение c, составляющее> 3, и отрегулировать выходной сигнал c для -3

Option Explicit

Public Sub GetTable()
    Dim S$, c&, R&, elem As Object, tRow As Object

    With New XMLHTTP60
        .Open "GET", "https://www.psacard.com/psasetregistry/baseball/company-sets/2018-topps-now/publishedset/271273", False
        .send
        S = .responseText
    End With

    With New HTMLDocument
        .body.innerHTML = S
        For Each elem In .getElementsByTagName("table")(0).rows
            For Each tRow In elem.Cells
                c = c + 1
                If c > 3 Then Activesheet.Cells(R + 1, c - 3) = tRow.innerText
            Next tRow
            c = 0: R = R + 1
        Next elem
    End With
End Sub
9
задан Osama Al-Maadeed 1 May 2009 в 22:28
поделиться

2 ответа

Предположим, что вы получили чистое обратное слияние, вы можете сделать это ...

svn merge -r 745:744 <source>

Затем, когда вы захотите повторно применить его, вы можете переместить его обратно в:

svn merge --ignore-ancestry -r 744:745 <source>

Для Для получения дополнительной информации ознакомьтесь с « Общими вариантами использования для слияния

17
ответ дан 4 December 2019 в 11:08
поделиться

Yes, this is definitely possible.

When you revert a change, it still creates a new revision in the repository. So you would do something like this:

1) Check out current copy r750.

2) Specify a revert on the working copy using svn merge -r. Your working copy will have the old version merged in.

3) Check in the working copy as r751.

Now you'll have two revisions in the history. The new one (r751) which does not include r745, since you rolled it back. But r745 will still be there if you ever want to reapply it. You can simply check out a copy of r745, merge it into your working copy, and check it back in (say as r752).

2
ответ дан 4 December 2019 в 11:08
поделиться
Другие вопросы по тегам:

Похожие вопросы: