[p4] Commiting partial-files

Evgeny evgeny.zislis at gmail.com
Wed Apr 9 11:16:25 PDT 2008


Hello perforce users,

I recently read about how git allows to send partial files in a
commit, using a staging area.
(Like explained here: http://tomayko.com/writings/the-thing-about-git)

and in bazaar there is a feature called "shelve"
(http://bazaar-vcs.org/BzrShelveExample),
that can be used for a similar thing.

These two techniques come to address the "The Tangled Working Copy Problem".

>From using Perforce I know that I can separate the files I intend to
commit into separate changelists, and commit these changelists at
different times and unrelated to one another. But is there a way to
have a single file appear in two different changelists? -- while in
one changelist the file has a certain change (function A added), and
in the other it's a different change (function B, but in the same
file).

I doubt it exists with perforce, but I'd love to hear it if I am mistaken.

Regards,
Evgeny


More information about the perforce-user mailing list