ClearCase hijack functionality in subversion

后端 未结 2 1248
悲哀的现实
悲哀的现实 2021-01-13 23:07

Is there a way to \"hijack\" a file in subversion like there is in ClearCase. Googling so far has not given me a definitive answer. For non ClearCase users Hijacking a file

相关标签:
2条回答
  • 2021-01-13 23:40

    SVN operates on a "copy-modify-merge" model, meaning it's always possible to make local modifications to your working copy, without needing to "lock" or "hijack" it.

    http://svnbook.red-bean.com/en/1.2/svn.basic.vsn-models.html#svn.basic.vsn-models.copy-merge.sb-1

    0 讨论(0)
  • 2021-01-13 23:42

    ClearCase has an odd mix of optimistic lock and pessimistic lock.
    But hijacking a file (for snapshot view) or eclipsing a file (for dynamic view) concerns only private changes (i.e. changes done without telling ClearCase first).

    As David mentions, SVN doesn't follow that model: you modify first, and then tell SVN during the commit step, which will include all files modified.
    ClearCase has not a "workspace wide revision", only a file-by-file commit.

    0 讨论(0)
提交回复
热议问题