Mercurial > hg
comparison tests/test-completion.t @ 42542:2e1d9414ff71
commit: add --force-close-branch flag to close a non-head changeset
While closing branch from a changeset which is not a branch head
current implementation abort this action in every case but, there
can be the situations where the changeset is not a local head but
could be a remote head. This patch adds the functionality to bypass
the "abort: can only close branch heads" by introducing
--force-close-branch flag.
Test case changes demonstrate the new functionality added.
Differential Revision: https://phab.mercurial-scm.org/D6490
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Sat, 18 May 2019 15:44:23 +0530 |
parents | 3de4f17f4824 |
children | bb135a784b70 |
comparison
equal
deleted
inserted
replaced
42541:3de4f17f4824 | 42542:2e1d9414ff71 |
---|---|
245 branch: force, clean, rev | 245 branch: force, clean, rev |
246 branches: active, closed, rev, template | 246 branches: active, closed, rev, template |
247 bundle: force, rev, branch, base, all, type, ssh, remotecmd, insecure | 247 bundle: force, rev, branch, base, all, type, ssh, remotecmd, insecure |
248 cat: output, rev, decode, include, exclude, template | 248 cat: output, rev, decode, include, exclude, template |
249 clone: noupdate, updaterev, rev, branch, pull, uncompressed, stream, ssh, remotecmd, insecure | 249 clone: noupdate, updaterev, rev, branch, pull, uncompressed, stream, ssh, remotecmd, insecure |
250 commit: addremove, close-branch, amend, secret, edit, interactive, include, exclude, message, logfile, date, user, subrepos | 250 commit: addremove, close-branch, amend, secret, edit, force-close-branch, interactive, include, exclude, message, logfile, date, user, subrepos |
251 config: untrusted, edit, local, global, template | 251 config: untrusted, edit, local, global, template |
252 copy: after, force, include, exclude, dry-run | 252 copy: after, force, include, exclude, dry-run |
253 debugancestor: | 253 debugancestor: |
254 debugapplystreamclonebundle: | 254 debugapplystreamclonebundle: |
255 debugbuilddag: mergeable-file, overwritten-file, new-file | 255 debugbuilddag: mergeable-file, overwritten-file, new-file |