1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues


Issue #2522 closed

patches that delete can't be seen in patch queue (BB-1309)

Rob Simmons
created an issue

It seems that patches with deleted files break. I made this repository to illustrate the problem: https://bitbucket.org/robsimmons/mqtest-patch/qseries

{{{ bash-3.2$ hg qclone https://bitbucket.org/robsimmons/mqtest-patch no changes found requesting all changes adding changesets adding manifests adding file changes added 1 changesets with 2 changes to 2 files updating to branch default 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 0 files updated, 0 files merged, 0 files removed, 0 files unresolved bash-3.2$ cd mqtest-patch/ bash-3.2$ hg qnew patch.add bash-3.2$ cat > TEST test bash-3.2$ hg add TEST bash-3.2$ hg qrefresh bash-3.2$ hg qnew patch.del bash-3.2$ hg rm TEST bash-3.2$ hg qrefresh bash-3.2$ hg qcommit -m "Add, then delete, TEST" bash-3.2$ cd .hg/patches/ bash-3.2$ hg push pushing to https://bitbucket.org/robsimmons/mqtest-patch/.hg/patches searching for changes remote: adding changesets remote: adding manifests remote: adding file changes remote: added 1 changesets with 3 changes to 3 files remote: bb/acl: robsimmons is allowed. accepted payload. bash-3.2$ }}}

I can view the first patch here: https://bitbucket.org/robsimmons/mqtest-patch/qseries?apply=t&qs_apply=patch.add, but the second patch can't be viewed because it includes a deleted file (I conjecture): https://bitbucket.org/robsimmons/mqtest-patch/qseries?apply=t&qs_apply=patch.del

Comments (2)

  1. Log in to comment